We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 558288a commit dab6080Copy full SHA for dab6080
docs/queries.rst
@@ -287,7 +287,7 @@ Where "foo" is the name of the field declared in the ``Query`` object.
287
class Query(graphene.ObjectType):
288
foo = graphene.List(QuestionType)
289
290
- def resolve_foo(root, info):
+ def resolve_foo(root, info, **kwargs):
291
id = kwargs.get("id")
292
return Question.objects.get(id)
293
0 commit comments