graphql / graphql/graphiql

[graphiql] graphql.json textmate grammar references undefined rule `#literal-quasi-embedded`

Open
#3,473 0 comments 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

Parsing graphql.json textmate file results in errors because it references a local rule that has not been defined `#literal-quasi-embedded`.

### Expected Behavior

Parsing graphql.json textmate file is possible without warnings.

### Steps To Reproduce

_No response_

### Environment

_No response_

### Anything else?

As a solution, either all `{ "include": "#literal-quasi-embedded" }` directives should be removed from https://github.com/graphql/graphiql/blob/main/packages/vscode-graphql-syntax/grammars/graphql.json or the `literal-quasi-embedded` should be defined.

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.