Skip to content

Broken syntax highlighting with variable directives #2434

Open
@romshark

Description

@romshark

image

According to the GraphQL specification from October 2021 directives can be applied to operation variables.
However, GraphiQL 1.8.2 doesn't seem to handle them properly. The syntax highlighting is breaking when you add a directive between variable definitions.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions