Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.

Version Packages (#305)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

-26
.changeset/light-penguins-explain.md
···
-
---
-
'@0no-co/graphqlsp': minor
-
---
-
-
Add support for defining multiple indepenent schemas through a new config property called `schemas`, you can
-
pass a config like the following:
-
-
```json
-
{
-
"name": "@0no-co/graphqlsp",
-
"schemas": [
-
{
-
"name": "pokemons",
-
"schema": "./pokemons.graphql",
-
"tadaOutputLocation": "./pokemons-introspection.d.ts"
-
},
-
{
-
"name": "weather",
-
"schema": "./weather.graphql",
-
"tadaOutputLocation": "./weather-introspection.d.ts"
-
}
-
]
-
}
-
```
-
-
The LSP will depending on what `graphql()` template you use figure out what API you are reaching out to.
-5
.changeset/spicy-garlics-drum.md
···
-
---
-
'@0no-co/graphqlsp': minor
-
---
-
-
Expose `findAllCallExpressions` on `@0no-co/graphqlsp/api`
-5
.changeset/young-phones-search.md
···
-
---
-
'@0no-co/graphqlsp': minor
-
---
-
-
Expand support for `gql.tada` API. GraphQLSP will now recognize `graphql()`/`graphql.persisted()` calls regardless of variable naming and support more obscure usage patterns.
+30
packages/graphqlsp/CHANGELOG.md
···
# @0no-co/graphqlsp
+
## 1.12.0
+
+
### Minor Changes
+
+
- Add support for defining multiple indepenent schemas through a new config property called `schemas`, you can
+
pass a config like the following:
+
```json
+
{
+
"name": "@0no-co/graphqlsp",
+
"schemas": [
+
{
+
"name": "pokemons",
+
"schema": "./pokemons.graphql",
+
"tadaOutputLocation": "./pokemons-introspection.d.ts"
+
},
+
{
+
"name": "weather",
+
"schema": "./weather.graphql",
+
"tadaOutputLocation": "./weather-introspection.d.ts"
+
}
+
]
+
}
+
```
+
The LSP will depending on what `graphql()` template you use figure out what API you are reaching out to.
+
Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#303](https://github.com/0no-co/GraphQLSP/pull/303))
+
- Expose `findAllCallExpressions` on `@0no-co/graphqlsp/api`
+
Submitted by [@kitten](https://github.com/kitten) (See [#308](https://github.com/0no-co/GraphQLSP/pull/308))
+
- Expand support for `gql.tada` API. GraphQLSP will now recognize `graphql()`/`graphql.persisted()` calls regardless of variable naming and support more obscure usage patterns
+
Submitted by [@kitten](https://github.com/kitten) (See [#309](https://github.com/0no-co/GraphQLSP/pull/309))
+
## 1.11.0
### Minor Changes
+1 -1
packages/graphqlsp/package.json
···
{
"name": "@0no-co/graphqlsp",
-
"version": "1.11.0",
+
"version": "1.12.0",
"description": "TypeScript LSP plugin that finds GraphQL documents in your code and provides hints and auto-generates types.",
"main": "./dist/graphqlsp",
"module": "./dist/graphqlsp.mjs",