Doesn't work with schema path outside project root
See original GitHub issueschema: {
files: '../graphql/*.graphql'
}
doesn’t work, while
schema: {
files: 'graphql/*.graphql'
}
works just fine.
Using it on Windows 10, not sure how to get any useful error message (I just see an error icon in VSCode and the plugin features don’t work).
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Can you setup a path alias for a reference outside the root ...
As your EventListSchema file is not at its root directory, the path reference is not correct. Instead, do it like this
Read more >Schema from npm module not working · Issue #236 - GitHub
The workaround I ended up using is linking the node_modules schema into my project files: # in the project root dir ln -s...
Read more >The composer.json schema
It is the main composer.json that defines your project requirements. ... Note: A package can be the root package or not, depending on...
Read more >Relative and absolute paths, in the file system and on the web ...
If you don't supply the root, it means that your path is relative. The simplest example of relative path is just a file...
Read more >ERR_FSPROVIDER_ROOT_PA...
The root path of the dataset or folder does not exist. DSS is trying to access data ... The error message details what...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a project where both the client and the server (multiple different servers in fact) are in the same git repository, and share the same graphql schema. So the directory structure goes something like
In VSCode, I only open the
client
directory, because it’s more convenient (no irrelevant clutter when doing project-wide search, correct default working directory for scripts, etc.).🎉 This issue has been resolved in version 1.14.0 🎉
The release is available on:
Your semantic-release bot 📦🚀