Closed as not planned
Description
Describe the bug
Using @deprecated
on an input field throws the following error in this tool:
error Parsing error: [graphql-eslint] Error while loading schema: Directive "@deprecated" may not be used on ARGUMENT_DEFINITION
The spec has merged the ability to deprecate input values in this PR
To Reproduce Steps to reproduce the behavior:
Add a @deprecated
notice on an input field, i.e.
type Mutation {
myMutation(firstParam: String @deprecated(reason: "Value taken from token instead"), secondParam: String!): String!
Expected behavior
A normal lint warning on the deprecated field
Metadata
Metadata
Assignees
Labels
No labels