Skip to main content
Version: 8.2

deprecated

Marks the field or enum value as deprecated

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

Arguments

deprecated.reason ● String scalar

The reason for the deprecation