Skip to content

Commit 12cd5d7

Browse files
authored
fix: vs code extension setting graphql-config.dotEnvPath incorrect registration (#3964)
* fix: incorrect setting option nesting location Fixes the `graphql-config.dotEnvPath` option that `graphql-language-service-server` uses to load the correct env file * chore: add change set for fix
1 parent 3b93d27 commit 12cd5d7

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.changeset/metal-pens-divide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'graphql-language-service-server': patch
3+
---
4+
5+
fix vs code extension setting graphql-config.dotEnvPath incorrect registration path

packages/vscode-graphql/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,14 @@
149149
],
150150
"description": "legacy mode for graphql config v2 config",
151151
"default": null
152+
},
153+
"graphql-config.dotEnvPath": {
154+
"type": [
155+
"string"
156+
],
157+
"description": "optional .env load file path, if not the default. specify a relative path to the .env file to be loaded by dotenv module. you can also import dotenv in the config file.",
158+
"default": null
152159
}
153-
},
154-
"graphql-config.dotEnvPath": {
155-
"type": [
156-
"string"
157-
],
158-
"description": "optional .env load file path, if not the default. specify a relative path to the .env file to be loaded by dotenv module. you can also import dotenv in the config file.",
159-
"default": null
160160
}
161161
},
162162
"commands": [

0 commit comments

Comments
 (0)