graphql / graphql/graphiql

[vscode-graphql-syntax] Syntax issue when using in a variable in template string

Open
#3,065 0 comments 0 reactions 0 assignees View on GitHub
bug vscode-graphql-syntax
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

When inserting a variable inside a gql template string, the next line gets an error, the rest of the gql present in the file get broken and there is no way to ignore the error, see gif

![2023-03-01 11 07 35](https://user-images.githubusercontent.com/117643868/222108471-b2b9c2a7-91c6-4380-9dd8-0baacf6099a9.gif)

IDE: VSCode `1.75.1`

Extensions:
- GraphQL: Language Feature Support `v0.8.5`
- GraphQL: Syntax Highlighting `v1.0.6`

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.