mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-27 08:19:45 +03:00
Pass name, documentation to the Field constructor
This commit is contained in:
parent
f79eb57c06
commit
a7044d2652
|
@ -77,5 +77,5 @@ class Mutation(ObjectType):
|
||||||
@classmethod
|
@classmethod
|
||||||
def Field(cls, *args, **kwargs):
|
def Field(cls, *args, **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, **kwargs
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user