Propagate name, deprecation_reason arguments of relay.NodeField to Field

This commit is contained in:
Theo Diamantidis 2019-07-16 19:05:49 +03:00
parent 167c8c203c
commit 51163cf0f8
No known key found for this signature in database
GPG Key ID: F1D2BE52DA5F0205

View File

@ -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),
) )