Skip to main content

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