mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Fix Typo in Docs (#1252)
The example of executing a query by passing a root value had a typo for the trailing parenthesis, namely it was '}' instead of ')'.
This commit is contained in:
parent
188ce9a6cb
commit
6918db1033
|
@ -85,7 +85,7 @@ Value used for :ref:`ResolverParamParent` in root queries and mutations can be o
|
|||
return {'id': root.id, 'firstName': root.name}
|
||||
|
||||
schema = Schema(Query)
|
||||
user_root = User(id=12, name='bob'}
|
||||
user_root = User(id=12, name='bob')
|
||||
result = schema.execute(
|
||||
'''
|
||||
query getUser {
|
||||
|
|
Loading…
Reference in New Issue
Block a user