Skip to content

Commit 590a987

Browse files
authored
fix: casing of filePath for graphql-config (#3703)
1 parent 8411e6c commit 590a987

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.changeset/wise-spies-wait.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'vscode-graphql': patch
3+
'graphql-language-service-server': 'patch'
4+
---
5+
6+
use `filepath` instead of `filePath` for `graphql-config`

packages/graphql-language-service-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ with graphql config. The final option can be set in `graphql-config` as well
261261
| Parameter | Default | Description |
262262
| ----------------------------------------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
263263
| `graphql-config.load.baseDir` | workspace root or process.cwd() | the path where graphql config looks for config files |
264-
| `graphql-config.load.filePath` | `null` | exact filepath of the config file. |
264+
| `graphql-config.load.filepath` | `null` | exact filepath of the config file. |
265265
| `graphql-config.load.configName` | `graphql` | config name prefix instead of `graphql` |
266266
| `graphql-config.load.legacy` | `true` | backwards compatibility with `graphql-config@2` |
267267
| `graphql-config.dotEnvPath` | `null` | backwards compatibility with `graphql-config@2` |

packages/vscode-graphql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ You can search a folder for any of the matching config file names listed above:
153153
Or a specific filepath:
154154

155155
```json
156-
"graphql-config.load.filePath": "./config/my-graphql-config.js"
156+
"graphql-config.load.filepath": "./config/my-graphql-config.js"
157157
```
158158

159159
Or a different `configName` that allows different formats:

packages/vscode-graphql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
],
121121
"description": "Base dir for graphql config loadConfig(), to look for config files or package.json"
122122
},
123-
"graphql-config.load.filePath": {
123+
"graphql-config.load.filepath": {
124124
"type": [
125125
"string"
126126
],

0 commit comments

Comments
 (0)