mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-25 11:03:58 +03:00
fix field name in execute.rst example (#1327)
fix field name in execute.rst 'Operation Name' example
This commit is contained in:
parent
c08379ed85
commit
485b1ed325
|
@ -110,7 +110,7 @@ If there are multiple operations defined in a query string, ``operation_name`` s
|
|||
from graphene import ObjectType, Field, Schema
|
||||
|
||||
class Query(ObjectType):
|
||||
me = Field(User)
|
||||
user = Field(User)
|
||||
|
||||
def resolve_user(root, info):
|
||||
return get_user_by_id(12)
|
||||
|
|
Loading…
Reference in New Issue
Block a user