mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-25 19:14:11 +03:00
make Mutation class ObjectType. (#748)
This commit is contained in:
parent
9d245287a4
commit
1b8184ece1
|
@ -44,7 +44,7 @@ Simple example
|
|||
return QuestionMutation(question=question)
|
||||
|
||||
|
||||
class Mutation:
|
||||
class Mutation(graphene.ObjectType):
|
||||
update_question = QuestionMutation.Field()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user