Skip to main content

deprecated

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

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

Arguments

reason (String)

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.

On this page

We use cookies to ensure that we give you the best experience on our website. By using the website, you agree to the use of cookies.