graphql / graphql/graphiql

[graphiql] Linter error for VARIABLE_DEFINITION directive with default value

Open
#3,420 1 comment 0 reactions 0 assignees View on GitHub
bug graphiql
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Screenshot 2023-09-08 at 4 01 01 PM

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.