mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-23 02:22:08 +03:00
#747 ObjectType to Mutation class.
This commit is contained in:
parent
d5e71bc9be
commit
88112ee3ca
|
@ -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