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

Commit

Permalink
LSP server upgrade for 2.7.13
Browse files Browse the repository at this point in the history
- bugfix for `insertText` & completion on invalid list types
- add support for template strings and tags with replacement expressions.
  • Loading branch information
acao committed Dec 9, 2021
1 parent 2c9b3d5 commit 6be5593
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 28 deletions.
31 changes: 31 additions & 0 deletions .changeset/sixty-meals-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
"vscode-graphql": patch
---

LSP upgrades:

- bugfix for `insertText` & completion on invalid list types
- add support for template strings and tags with replacement expressions, so strings like these should work now:

```ts
const = /*GraphiQL*/
`
${myFragments}
query MyQuery {
something
${anotherString}
}
`
```

```ts
const = gql`
${myFragments}
query MyQuery {
something
${anotherString}
}
`
```
101 changes: 74 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
"escape-html": "^1.0.3",
"graphql": "^15",
"graphql-config": "~4.1.0",
"graphql-language-service-server": "^2.7.10",
"graphql-language-service-server": "^2.7.13",
"graphql-tag": "^2.12.6",
"graphql-ws": "^5.5.5",
"node-fetch": "^2.6.6",
Expand Down

0 comments on commit 6be5593

Please sign in to comment.