You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @deprecated directive currently is only allowed on FIELD_DEFINITION and ENUM_VALUE:
"""Marks an element of a GraphQL schema as no longer supported."""directive@deprecated(
""" Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/). """reason: String = "No longer supported"
) onFIELD_DEFINITION | ENUM_VALUE
However any schema element could become deprecated at some point, like an obsolete/unused input field for example. Would it be possible to add the following to the supported types of the @deprecated directive?
ARGUMENT_DEFINITION
INPUT_FIELD_DEFINITION
The text was updated successfully, but these errors were encountered:
The
@deprecated
directive currently is only allowed onFIELD_DEFINITION
andENUM_VALUE
:However any schema element could become deprecated at some point, like an obsolete/unused input field for example. Would it be possible to add the following to the supported types of the
@deprecated
directive?ARGUMENT_DEFINITION
INPUT_FIELD_DEFINITION
The text was updated successfully, but these errors were encountered: