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:
Daniel T. Plop 2020-08-12 23:44:00 +02:00 committed by GitHub
parent 188ce9a6cb
commit 6918db1033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {