Skip to content

Deprecation of arguments #270

@zyixc

Description

@zyixc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions