mirror of
https://github.com/graphql-python/graphene.git
synced 2025-09-21 19:32:33 +03:00
Propagate name, deprecation_reason arguments of relay.NodeField to Field
This commit is contained in:
parent
167c8c203c
commit
51163cf0f8
|
@ -57,6 +57,8 @@ class NodeField(Field):
|
||||||
# If we don's specify a type, the field type will be the node
|
# If we don's specify a type, the field type will be the node
|
||||||
# interface
|
# interface
|
||||||
type or node,
|
type or node,
|
||||||
|
name=name,
|
||||||
|
deprecation_reason=deprecation_reason,
|
||||||
description="The ID of the object",
|
description="The ID of the object",
|
||||||
id=ID(required=True),
|
id=ID(required=True),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user