railt/graphql

View on GitHub
resources/stdlib/draft/@deprecated.graphql

Summary

Maintainability
Test Coverage

"""
The @deprecated directive is used within the type system definition language to
indicate deprecated portions of a GraphQL service’s schema, such as deprecated
fields on a type or deprecated enum values.
"""
directive @deprecated(reason: String = "No longer supported") on
    | FIELD_DEFINITION
    | ARGUMENT_DEFINITION
    | INPUT_FIELD_DEFINITION
    | ENUM_VALUE