graphene-django/graphene_django
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
..
debug Document, including whether fields are required 2018-09-09 19:01:00 +01:00
filter Introduce refine_queryset and get_connection_parameters 2019-02-05 18:13:21 +01:00
forms Fix tests. 2018-07-22 23:53:58 +01:00
management Provide a way to dump schema to stdout. 2018-09-08 15:34:48 +03:00
rest_framework Reformatted files using black 2018-07-19 16:52:24 -07:00
templates/graphene Upgrade graphiql and react versions 2018-02-01 10:01:05 +00:00
tests Merge pull request #472 from wsantos/master 2018-09-05 13:20:38 +02:00
__init__.py Updated version to 2.2.0 2018-09-05 23:20:25 +02:00
compat.py Remove unnecessary compat utility for Django < 1.11 2018-09-04 13:15:04 -04:00
converter.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
registry.py Reformatted files using black 2018-07-19 16:52:24 -07:00
settings.py Reformatted files using black 2018-07-19 16:52:24 -07:00
types.py Introduce refine_queryset and get_connection_parameters 2019-02-05 18:13:21 +01:00
utils.py Reformatted files using black 2018-07-19 16:52:24 -07:00
views.py Reformatted files using black 2018-07-19 16:52:24 -07:00