You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?