This commit is contained in:
vineethvanga18 2020-05-12 01:33:17 +05:30 committed by GitHub
parent 2225ed62e1
commit a987035ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ Custom resolvers
If your ``DjangoObjectType`` has defined a custom If your ``DjangoObjectType`` has defined a custom
:ref:`get_queryset<django-objecttype-get-queryset>` method, when resolving a :ref:`get_queryset<django-objecttype-get-queryset>` method, when resolving a
``DjangoListField`` it will be called with either the return of the field ``DjangoListField`` it will be called with either the return of the field
resolver (if one is defined) or the default queryeset from the Django model. resolver (if one is defined) or the default queryset from the Django model.
For example the following schema will only resolve recipes which have been For example the following schema will only resolve recipes which have been
published and have a title: published and have a title: