sangria-graphql/sangria

support @deprecated on argument and input field

yanns opened this issue · 1 comments

yanns commented

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 commented

Fixed by #1063