graphiql
graphiql copied to clipboard
[graphiql] Linter error for VARIABLE_DEFINITION directive with default value
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
Expected Behavior
I'd expect this query to not have linter errors.
Steps To Reproduce
Create a VARIABLE_DEFINITION directive and put it on a variable definition that has a default value.
Environment
- GraphiQL Version: 3.0.5
Anything else?
No response
Relevant section of spec for this syntax at https://spec.graphql.org/October2021/#sec-Language.Variables