Broken syntax highlighting with variable directives
Open
enhancement
grammar
graphiql
graphql-language-service
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.9k
- Avg merge
- 22h 45m
- Merged PRs (30d)
- 70
Description

According to the [GraphQL specification from October 2021](https://github.com/graphql/graphql-spec/blob/October2021/spec/Section%202%20--%20Language.md#variables) 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.
Contributor guide
Assessment
This issue has not been assessed yet.