(deprecated: use loadConfigOptions.rootDir now) the directory where graphql-config is found
(deprecated: use loadConfigOptions.extensions now) array of functions to transform the graphql-config and add extensions dynamically
default: ['.js', '.jsx', '.tsx', '.ts', '.mjs'] allowed file extensions for embedded graphql, used by the parser. note that with vscode, this is also controlled by manifest and client configurations. do not put full-file graphql extensions here!
default: ['graphql'] - allowed file extensions for graphql, used by the parser
hostname if using socker
LoadConfigOptions
from graphql-config@3
to use when we loadConfig()
uses process.cwd() by default for rootDir
option.
you can also pass explicit filepath
, add extensions, etc
socket, streams, or node (ipc). node
by default.
custom, multi-language parser used by the LSP server. detects extension from uri and decides how to parse it. uses graphql.parse() by default response format is designed to assist with developing LSP tooling around embedded language support
port for the LSP server to run on. required if using method socket
the temporary directory that the server writes to for logs and caching schema
Generated using TypeDoc
pre-existing GraphQLConfig primitive, to override
loadConfigOptions
and related deprecated fields