make Mutation class ObjectType. (#748)

This commit is contained in:
A C SREEDHAR REDDY 2019-08-16 19:04:28 +05:30 committed by Jonathan Kim
parent 9d245287a4
commit 1b8184ece1

View File

@ -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()