Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit 6be5593

Browse files
committed
LSP server upgrade for 2.7.13
- bugfix for `insertText` & completion on invalid list types - add support for template strings and tags with replacement expressions.
1 parent 2c9b3d5 commit 6be5593

File tree

3 files changed

+106
-28
lines changed

3 files changed

+106
-28
lines changed

.changeset/sixty-meals-warn.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
"vscode-graphql": patch
3+
---
4+
5+
LSP upgrades:
6+
7+
- bugfix for `insertText` & completion on invalid list types
8+
- add support for template strings and tags with replacement expressions, so strings like these should work now:
9+
10+
```ts
11+
const = /*GraphiQL*/
12+
`
13+
${myFragments}
14+
query MyQuery {
15+
something
16+
${anotherString}
17+
}
18+
19+
`
20+
```
21+
22+
```ts
23+
const = gql`
24+
${myFragments}
25+
query MyQuery {
26+
something
27+
${anotherString}
28+
}
29+
30+
`
31+
```

package-lock.json

Lines changed: 74 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
"escape-html": "^1.0.3",
250250
"graphql": "^15",
251251
"graphql-config": "~4.1.0",
252-
"graphql-language-service-server": "^2.7.10",
252+
"graphql-language-service-server": "^2.7.13",
253253
"graphql-tag": "^2.12.6",
254254
"graphql-ws": "^5.5.5",
255255
"node-fetch": "^2.6.6",

0 commit comments

Comments
 (0)