mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-16 03:02:18 +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)
|
return QuestionMutation(question=question)
|
||||||
|
|
||||||
|
|
||||||
class Mutation:
|
class Mutation(graphene.ObjectType):
|
||||||
update_question = QuestionMutation.Field()
|
update_question = QuestionMutation.Field()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user