mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-23 15:10:48 +03:00
Update UPGRADE-v2.0.md
I believe this line was intended to be indented.
This commit is contained in:
parent
e71b59a8c3
commit
84fc2e3b93
|
@ -124,8 +124,8 @@ Example. Before:
|
||||||
class UserInput(InputObjectType):
|
class UserInput(InputObjectType):
|
||||||
id = ID()
|
id = ID()
|
||||||
|
|
||||||
def is_user_id(id):
|
def is_user_id(id):
|
||||||
return id.startswith('userid_')
|
return id.startswith('userid_')
|
||||||
|
|
||||||
class Query(ObjectType):
|
class Query(ObjectType):
|
||||||
user = graphene.Field(User, input=UserInput())
|
user = graphene.Field(User, input=UserInput())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user