#747 ObjectType to Mutation class.

This commit is contained in:
A C SREEDHAR REDDY 2019-08-16 00:58:59 +05:30 committed by GitHub
parent d5e71bc9be
commit 88112ee3ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ Simple example
return QuestionMutation(question=question)
class Mutation:
class Mutation(graphene.ObjectType):
update_question = QuestionMutation.Field()