mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-10 19:57:15 +03:00
fixes docs to include ObjectType in root query
This commit is contained in:
parent
f6684ca92d
commit
d1f2863374
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user