mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-07 15:10:35 +03:00
Merge pull request #316 from mekhami/patch-1
Update README to reflect that resolve_only_args is deprecated
This commit is contained in:
commit
bc15439e3d
|
@ -67,7 +67,6 @@ class User(DjangoObjectType):
|
||||||
class Query(graphene.ObjectType):
|
class Query(graphene.ObjectType):
|
||||||
users = graphene.List(User)
|
users = graphene.List(User)
|
||||||
|
|
||||||
@graphene.resolve_only_args
|
|
||||||
def resolve_users(self):
|
def resolve_users(self):
|
||||||
return UserModel.objects.all()
|
return UserModel.objects.all()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user