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
//should the language service read schema for definition lookups from a cached file based on graphql config output?
160
+
//this is enabled by default if non-local files are specified in the project `schema`
161
161
// NOTE: this will disable all definition lookup for local SDL files
162
162
cacheSchemaFileForLookup:true,
163
163
// undefined by default which has the same effect as `true`, set to `false` if you are already using // `graphql-eslint` or some other tool for validating graphql in your IDE. Must be explicitly `false` to disable this feature, not just "falsy"
@@ -237,14 +237,14 @@ via `initializationOptions` in nvim.coc. The options are mostly designed to
237
237
configure graphql-config's load parameters, the only thing we can't configure
238
238
with graphql config. The final option can be set in `graphql-config` as well
|`graphql-config.load.baseDir`| workspace root or process.cwd() | the path where graphql config looks for config files |
243
-
|`graphql-config.load.filePath`|`null`| exact filepath of the config file. |
244
-
|`graphql-config.load.configName`|`graphql`| config name prefix instead of `graphql`|
245
-
|`graphql-config.load.legacy`|`true`| backwards compatibility with `graphql-config@2`|
246
-
|`graphql-config.dotEnvPath`|`null`| backwards compatibility with `graphql-config@2`|
247
-
|`vscode-graphql.cacheSchemaFileForLookup`|`false`| generate an SDL file based on your graphql-config schema configuration for schema definition lookup and other features. useful when your `schema` config are urls |
|`graphql-config.load.baseDir`| workspace root or process.cwd() | the path where graphql config looks for config files|
243
+
|`graphql-config.load.filePath`|`null`| exact filepath of the config file.|
244
+
|`graphql-config.load.configName`|`graphql`| config name prefix instead of `graphql`|
245
+
|`graphql-config.load.legacy`|`true`| backwards compatibility with `graphql-config@2`|
246
+
|`graphql-config.dotEnvPath`|`null`| backwards compatibility with `graphql-config@2`|
247
+
|`vscode-graphql.cacheSchemaFileForLookup`|`true` if `schema` contains non-sdl files or urls | generate an SDL file based on your graphql-config schema configuration for schema definition lookup and other features. enabled by default when your `schema` config are urls or introspection json, or if you have any non-local SDL files in `schema`|
248
248
249
249
all the `graphql-config.load.*` configuration values come from static
0 commit comments