Support for multi-folder workspacesSee original GitHub issue
Seems like when using this plugin with multi-folder workspaces, it cannot find the .gqlconfig file
[Info - 23:18:56] NODE_PATH value is: /Users/felix/.nvm/versions/node/v8.4.0/lib/node_modules
[Info - 23:18:56] Module '@playlyfe/gql' loaded from: /Users/felix/.nvm/versions/node/v8.4.0/lib/node_modules/@playlyfe/gql/lib/index.js
[Error - 23:18:56] Server initialization failed:
Request initialize failed with message: Could not find a .gqlconfig file. Create a .gqlconfig file in project root directory.
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top GitHub Comments
I am planning to implement the multi project support something similar to how I implemented in flow-for-vscode plugin that will solve the mono repo issue. But for now you can make all individual gqlconfig folder as vscode workspace folder.
As far as I know it is not possible to use vscode workspaces with a monorepo setup (take a look at apollo server) as you need the root directory in your workspaces and vscode does not support nested workspaces. So I think binding the multi-project support to vscode workspaces is not a good idea as most people use traditional monorepo setup.