Merge pull request #12 from joslarson/docs-fix

fixes docs to include ObjectType in root query
This commit is contained in:
Syrus Akbary 2016-10-05 09:00:15 -07:00 committed by GitHub
commit f9e7c44738

View File

@ -149,7 +149,7 @@ Create the parent project-level ``cookbook/schema.py``:
import cookbook.ingredients.schema
class Query(cookbook.ingredients.schema.Query):
class Query(cookbook.ingredients.schema.Query, graphene.ObjectType):
# This class will inherit from multiple Queries
# as we begin to add more apps to our project
pass