mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-29 09:19:49 +03:00
Merge caac722cdd
into da0b2c6805
This commit is contained in:
commit
dc4b2aa180
|
@ -77,6 +77,8 @@ class Mutation(ObjectType):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def Field(cls, *args, **kwargs):
|
def Field(cls, *args, **kwargs):
|
||||||
|
extra = dict(description=cls._meta.description)
|
||||||
|
extra.update(kwargs)
|
||||||
return Field(
|
return Field(
|
||||||
cls._meta.output, args=cls._meta.arguments, resolver=cls._meta.resolver
|
cls._meta.output, args=cls._meta.arguments, resolver=cls._meta.resolver, **extra
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user