deprecated

The @deprecated directive is used within the type system definition language to indicate deprecated portions of a GraphQL service’s schema, such as deprecated fields on a type or deprecated enum values.

link GraphQL Schema definition

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

link Require by

This element is not required by anyone