Closed
Description
So, I am trying to reuse some fields in other objects by spreading them like so:
fields: {
...Type.getFields()
}
Where Type has the fields I want to reuse.
However, I get the following error:
Error: Type.someField should provide "deprecationReason" instead of "isDeprecated".
None of the fields have isDeprecated
in my code, but I'm guessing those get added later internally. If I add isDeprecated
to one of the fields I get the same error.
Is isDeprecated
no longer used or am I not using .getFields
correctly?
Metadata
Metadata
Assignees
Labels
No labels