Skip to main content


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

directive @deprecated(
reason: String = "No longer supported"

Link copied!

deprecated.reason ● String scalar
Link copied!

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.