Open jhalborg opened 1 week ago
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 }
https://github.com/dimaMachina/graphql-eslint/issues/1891#issuecomment-1734533636
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: