It would be nice to have the ability to deprecate arguments,
like you can do with fields and enum values
Reference Deprecation of input fields,
This was proposed as part of the GraphQL specification, discussion is still ongoing
PostInputType = GraphQL::InputObjectType.define do
name 'PostInputType'
argument :title, !types.String
argument :body, !types.String
argument :content, ContentInputType, deprecation_reason: 'Simplified'
end
It would be nice to have the ability to deprecate arguments,
like you can do with fields and enum values
Reference Deprecation of input fields,
This was proposed as part of the GraphQL specification, discussion is still ongoing