mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-16 19:40:36 +03:00
Update README to reflect that resolve_only_args is deprecated
As resolve_only_args is deprecated, let's remove it from the README.
This commit is contained in:
parent
2600f0f041
commit
a3f3d90ab7
|
@ -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