walmartlabs / lacinia

GraphQL implementation in pure Clojure
http://lacinia.readthedocs.io/en/latest/
Other
1.82k stars 160 forks source link

Adding support for deprecation on input fields #458

Open mt3593 opened 6 months ago

mt3593 commented 6 months ago

Hi,

The @deprecated annotation I can see is now supported under the draft on the spec https://spec.graphql.org/draft/#sec--deprecated. But not for the current released one https://spec.graphql.org/October2021/#sec--deprecated.

I'm using the https://www.npmjs.com/package/graphql-schema-linter version 3.0.1 and graphql version 15.6.1 and this appears to be happy with deprecating the fields on input types.

I can take a look at adding support for this but want to know if this would be accepted? or do we keep to the October2021 version?

Thanks