Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support @deprecated on argument and input field #982

Closed
yanns opened this issue Mar 30, 2023 · 1 comment
Closed

support @deprecated on argument and input field #982

yanns opened this issue Mar 30, 2023 · 1 comment

Comments

@yanns
Copy link
Contributor

yanns commented Mar 30, 2023

In the draft spec, the @deprecated directive can now be also used on arguments and input fields.

Draft:

directive @deprecated(
  reason: String = "No longer supported"
) on FIELD_DEFINITION | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION | ENUM_VALUE

vs last spec from October 2021:

directive @deprecated(
  reason: String = "No longer supported"
) on FIELD_DEFINITION | ENUM_VALUE

RFC

@yanns
Copy link
Contributor Author

yanns commented Feb 1, 2024

Fixed by #1063

@yanns yanns closed this as completed Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant