This commit is contained in:
Markus Padourek 2015-11-20 17:09:24 +00:00
parent 72090027cb
commit 0779329ad3

View File

@ -117,7 +117,7 @@ class Query(graphene.ObjectType):
fullName=graphene.String(), fullName=graphene.String(),
sortKey=graphene.String(), sortKey=graphene.String(),
sortDirection=graphene.String()) sortDirection=graphene.String())
user = relay.NodeField(Users) user = relay.NodeField(User)
viewer = graphene.Field('self') # needed for Relay viewer = graphene.Field('self') # needed for Relay
# args will be a dict with 'fullName', 'sortKey' and 'sortDirection' # args will be a dict with 'fullName', 'sortKey' and 'sortDirection'