We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Using @deprecated on an input field throws the following error in this tool:
@deprecated
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
The text was updated successfully, but these errors were encountered:
what version of graphql are you using?
Sorry, something went wrong.
Closing due silence, feel free to reply and I’ll reopen
No branches or pull requests
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.Expected behavior
A normal lint warning on the deprecated field
The text was updated successfully, but these errors were encountered: