Hi,
The GraphQL spec now allows the deprecation of input fields on input types, as shown below:
input I {
a: String
d: String @deprecated(reason: "Please don't")
}
Ref: graphql/graphql-spec@94f73f4
It would be great if this library supported @Deprecatedannotations for input fields.
Generated code:
class Input$I {
factory Input$I({String? a, @Deprecated('Please don\'t') String? d}) => ...
}