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
Is your feature request related to a problem? Please describe.
If the schema deprecates input values (args, input fields) the linter will complain with the error
Parsing error: [graphql-eslint] Error while loading schema: Directive "@deprecated" may not be used on INPUT_FIELD_DEFINITION.
Describe the solution you'd like
No error, as deprecated input values are allowed in GraphQL
Describe alternatives you've considered
--
Additional context
"@graphql-eslint/eslint-plugin": "^3.20.1",
Schema sample:
type Query { controlStates(id: ID!, Hierarchy: Hierarchy @deprecated(reason: "No longer required, info is retrieved based on device id")): Device }
The text was updated successfully, but these errors were encountered:
#1891 (comment)
Sorry, something went wrong.
Hehe, deja vu 😄 Sorry I missed your replies last year.
"graphql": "16.8.1",
No branches or pull requests
Is your feature request related to a problem? Please describe.
If the schema deprecates input values (args, input fields) the linter will complain with the error
Parsing error: [graphql-eslint] Error while loading schema: Directive "@deprecated" may not be used on INPUT_FIELD_DEFINITION.
Describe the solution you'd like
No error, as deprecated input values are allowed in GraphQL
Describe alternatives you've considered
--
Additional context
"@graphql-eslint/eslint-plugin": "^3.20.1",
Schema sample:
The text was updated successfully, but these errors were encountered: