There's a validation rule to implement for the @deprecated directive. How exciting.
From the GraphQL specification:
The @deprecated directive must not appear on required (non-null without a default) arguments or input object field definitions.
Here's a link to the spec PR: graphql/graphql-spec#805
We previously enabled @deprecated for input fields and arguments in this PR: #2186. This issue is for implementing the validation rule only.