@deprecated

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

Arguments

reason

String = "No longer supported" - Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).

Locations

  • FIELD_DEFINITION

  • ARGUMENT_DEFINITION

  • INPUT_FIELD_DEFINITION

  • ENUM_VALUE

Repeatable

false