Skip to main content
Version: Next

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