mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 17:47:12 +03:00
Merge pull request #12 from joslarson/docs-fix
fixes docs to include ObjectType in root query
This commit is contained in:
commit
f9e7c44738
|
@ -149,7 +149,7 @@ Create the parent project-level ``cookbook/schema.py``:
|
||||||
import cookbook.ingredients.schema
|
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
|
# This class will inherit from multiple Queries
|
||||||
# as we begin to add more apps to our project
|
# as we begin to add more apps to our project
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user