graphql / vscode-graphql

MIGRATED: VSCode GraphQL extension (autocompletion, go-to definition, syntax highlighting)
https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql
MIT License
557 stars 71 forks source link

Syntax Error in .vue files #380

Closed zigomir closed 2 years ago

zigomir commented 2 years ago

Actual Behavior

Syntax Error: Cannot parse the unexpected character "<".GraphQL: Syntax in .vue file

Expected Behavior

No error

Steps to Reproduce the Problem Or Description

Create new .vue file and paste <template></template> in it.

Specifications

Logs Of TS Server || GraphQL Language Service

zigomir commented 2 years ago

Culprit being https://github.com/graphql/vscode-graphql/commit/f022958a60dc30aaeafe1b95fe0711965907a2fd

acao commented 2 years ago

my bad, I hadn't looked closely enough at this PR, it does not add a grammar for vue files as I had thought

acao commented 2 years ago

reverted in #387, 0.3.35 should be the fix version

zigomir commented 2 years ago

It's fixed now – thank you!

Otherwise I'm really confused which version fixes it. I just tried installing latest 0.3.41 and event 0.3.34 and none of them have same problem 🤷‍♂️