question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for multi-folder workspaces

See original GitHub issue

Seems like when using this plugin with multi-folder workspaces, it cannot find the .gqlconfig file

image

[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.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Mayank1791989commented, Sep 15, 2019

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.

0reactions
HosseinAghacommented, Sep 15, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi-root Workspaces in Visual Studio Code
Multi-root Workspaces. You can work with multiple project folders in Visual Studio Code with multi-root workspaces. This can be helpful when you are...
Read more >
VS Code tips — Multi-root workspaces - YouTube
Today's VS Code tip: Multi-root workspacesMulti-root workspaces let you work with multiple folders in the same VS Code window.
Read more >
Open multiple Projects/Folders in Visual Studio Code
To do this you use the Add folder to Workspace... command. VS Code then saves this configuration in a new file with a...
Read more >
Support for multi-root workspaces without extraPaths ...
I work in a project that has multiple components written in Python each in its own Git Repository. Each component gets built into...
Read more >
Work with multiple AL project folders within one workspace
Visual Studio Code offers the multi-root workspace feature, which enables ... The AL Language extension also supports the multi-root ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found