You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2022. It is now read-only.
improvement: server dotenv and config reloading (#222)
- require `dotenv` in the server runtime (for loading graphql config values), and allow a `graphql-config.dotEnvPath` configuration to specify specific paths
- reload server on workspace configuration changes
- reload severside `graphql-config` and language service on config file changes. definitions cache/etc will be rebuilt
- note: client not configured to reload on graphql config changes yet (i.e endpoints)
- accept all `graphql-config.loadConfig()` options
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,14 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
6
6
7
7
The git log should show a fairly clean view of each of these new versions, and the issues/PRs associated.
8
8
9
+
# 0.3.8
10
+
11
+
- require `dotenv` in the server runtime (for loading graphql config values), and allow a `graphql-config.dotEnvPath` configuration to specify specific paths
12
+
- reload server on workspace configuration changes
13
+
- reload severside `graphql-config` and language service on config file changes. definitions cache/etc will be rebuilt
14
+
- note: client not configured to reload on graphql config changes yet (i.e endpoints)
15
+
- accept all `graphql-config.loadConfig()` options
16
+
9
17
# 0.3.7
10
18
11
19
- update underlying `graphql-language-service-server` to allow .gql, .graphqls extensions
> 💡 **Note:** This extension no longer supports `.prisma` files. If you are using this extension with Prisma 1, please rename your datamodel from `datamodel.prisma` to `datamodel.graphql` and this extension will pick that up.
7
+
> 💡 **Note:** This extension no longer supports `.prisma` files. If you are using this extension with GraphQL 1, please rename your datamodel from `datamodel.prisma` to `datamodel.graphql` and this extension will pick that up.
8
8
9
9
## Features
10
10
11
+
Lots of new improvements happening! We now have a [`CHANGELOG.md`](https://github.com/graphql/vscode-graphql/blob/master/CHANGELOG.md#change-log)
12
+
11
13
### General features
12
14
13
15
- Load the extension on detecting `graphql-config file` at root level or in a parent level directory
@@ -16,6 +18,7 @@ GraphQL extension VSCode built with the aim to tightly integrate the GraphQL Eco
16
18
- execute query/mutation/subscription operation, embedded or in graphql files
17
19
- pre-load schema and document defintitions
18
20
- Support [`graphql-config`](https://graphql-config.com/) files with one project and multiple projects
21
+
- the language service re-starts on changes to vscode settings and/or graphql config!
19
22
20
23
### `.graphql`, `.gql` file extension support
21
24
@@ -39,7 +42,7 @@ GraphQL extension VSCode built with the aim to tightly integrate the GraphQL Eco
39
42
40
43
## Usage
41
44
42
-
Install the [VSCode GraphQL Extension](https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql).
45
+
Install the [VSCode GraphQL Extension](https://marketplace.visualstudio.com/items?itemName=GraphQL.vscode-graphql).
43
46
44
47
(Watchman is no longer required, you can uninstall it now)
45
48
@@ -218,14 +221,14 @@ const myQuery = `
218
221
219
222
## Known Issues
220
223
221
-
- template replacement inside a graphql string [will break graphql parsing](https://github.com/prisma-labs/vscode-graphql/issues/137). If you want to help improve partial parsing support, you can contribute to the parser efforts in [`graphql`](https://github.com/graphql/graphql-js) reference implementation. You can now re-use fragments across your project source, if you include the files in `documents`.
224
+
- template replacement inside a graphql string [will break graphql parsing](https://github.com/graphql/vscode-graphql/issues/137). If you want to help improve partial parsing support, you can contribute to the parser efforts in [`graphql`](https://github.com/graphql/graphql-js) reference implementation. You can now re-use fragments across your project source, if you include the files in `documents`.
222
225
- the output channel occasionally shows "definition not found" when you first start the language service, but once the definition cache is built for each project, definition lookup will work. so if a "peek definition" fails when you first start, just try clicking it again.
223
226
224
227
## Development
225
228
226
229
This plugin uses the [GraphQL language server](https://github.com/graphql/graphql-language-service-server)
227
230
228
-
1. Clone the repository - https://github.com/prisma-labs/vscode-graphql
231
+
1. Clone the repository - https://github.com/graphql/vscode-graphql
229
232
1.`npm install`
230
233
1. Open it in VSCode
231
234
1. Go to the debugging section and run the launch program "Extension"
0 commit comments