deprecated

Marks the field, argument, input field or enum value as deprecated

link GraphQL Schema definition

  • directive @deprecated(reason: String) on FIELD_DEFINITION | ARGUMENT_DEFINITION | ENUM_VALUE | INPUT_FIELD_DEFINITION

link Require by

This element is not required by anyone