@deprecated
Directive
Marks the field, argument, input field or enum value as deprecated
directive @deprecated(reason: String = "No longer supported") on FIELD_DEFINITION | ARGUMENT_DEFINITION | ENUM_VALUE | INPUT_FIELD_DEFINITION
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
reason | String | "No longer supported" | The reason for the deprecation |
Locations
FIELD_DEFINITIONARGUMENT_DEFINITIONENUM_VALUEINPUT_FIELD_DEFINITION