deprecated

()

Marks an element of a GraphQL schema as no longer supported.

link GraphQL Schema definition

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

link Require by

This element is not required by anyone