mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-27 08:19:45 +03:00
Merge 84fc2e3b93
into 719acc6771
This commit is contained in:
commit
6a960ea6cd
|
@ -145,7 +145,7 @@ 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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user