graphene-django/graphene_django/filter
Alexandre Kirszenberg 2417f79693 Introduce refine_queryset and get_connection_parameters
refine_queryset lets DjangoObjectType define exactly how the queryset
should be refined before being returned to the user. For instance, some
objects could be filtered out according to a predicate, or some fields
could be prefetched depending on what the initial query requested.

get_connection_parameters lets DjangoObjectType define the name and
value of parameters that can be passed to any DjangoConnectionField that
uses them.

Both these additions come as building blocks to allow custom refinements
and filters without having to go through django-filter. Moreover, such
filters can also be further optimized than previously allowed, as the
GraphQL info object is available in refine_queryset.
2019-02-05 18:13:21 +01:00
..
tests Reformatted files using black 2018-07-19 16:52:24 -07:00
__init__.py Reformatted files using black 2018-07-19 16:52:24 -07:00
fields.py Introduce refine_queryset and get_connection_parameters 2019-02-05 18:13:21 +01:00
filterset.py Add back support for django-filter < 2 2018-09-04 13:15:04 -04:00
utils.py Merge form converter modules 2017-10-02 09:42:57 -05:00