-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Language Server appears not to start up #220
Comments
Hey @mattpocock Going to move this issue to Quickly checked myself and the LSP works but it fails to generate the types due to your schema being invalid.
When I add
It works fine, currently it's really hard to convey errors in the LSP as it just pipes to |
I suppose this does add some question around debugging, but I think, the answer here is quite simple: I've also been thinking that for some cases a |
Gotcha - yes, this is a hard problem to solve. This flow come up extremely often and it's important to source it to the user. Is it not possible with the plugin to throw custom errors at certain call sites? Like |
We can't surface it no, I have tried a lot of things but I have only managed to surface it in |
OK, makes sense! I'll close this issue as it feels unrelated to the real problem, which you guys have in hand. |
just want to add that folders won't be automatically created so no .d.ts file either |
Describe the bug
I've followed the installation instructions, but the language server doesn't seem to start up. No .d.ts file is created.
I'm using VSCode.
Reproduction
https://github.com/mattpocock/gql-tada-testing
gql.tada version
^1.2.1
Validations
The text was updated successfully, but these errors were encountered: