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,8 +145,8 @@ Example. Before:
|
|||
class UserInput(InputObjectType):
|
||||
id = ID()
|
||||
|
||||
def is_user_id(id):
|
||||
return id.startswith('userid_')
|
||||
def is_user_id(id):
|
||||
return id.startswith('userid_')
|
||||
|
||||
class Query(ObjectType):
|
||||
user = graphene.Field(User, input=UserInput())
|
||||
|
|
Loading…
Reference in New Issue
Block a user