Skip to main content

deprecated

deprecated indicates that a field should not be used in the future.

directive @deprecated(
reason: String = "No longer supported"
) on
| FIELD_DEFINITION
| ENUM_VALUE

Arguments

deprecated.reason ● String scalar