deprecated

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

GraphQL Schema definition

  • directive @deprecated(
  • # Explains why this element was deprecated, usually also including a suggestion
  • # for how to access supported similar data. Formatted in
  • # [Markdown](https://daringfireball.net/projects/markdown/).
  • reason: String
  • ) on FIELD_DEFINITION | ENUM_VALUE

Require by

This element is not required by anyone