Closed lanwin closed 2 years ago
I found the root cause in graphql-languageserver and opened a pullrequest to fix it https://github.com/graphql/graphiql/pull/1715
Still an issue with last version 0.3.40
. I get for example:
The fix in graphql lsp has been merged now, will need to update the dependency in this extension and make a new release to properly fix the issue
@Cellule already released the latest LSP server in VSC marketplace for 0.3.50! Just need to update openVSX pipeline token. Hope to get to it in the next few weeks after surgery
you tested the changes locally correct? Our integration tests don’t cover windows
@acao I did port the fix from https://github.com/graphql/graphiql/pull/2214 to my local %userprofile%\.vscode\extensions\graphql.vscode-graphql-0.3.50\out\server\server.js
and it's been working great so far.
0.3.50 doesn't seem to have to fix yet however
It seems your change is present in the lockfile though?
strange... @orta noting a potential pipeline bug here
I'm not sure how the pre-release channel works, but from my point of view 0.3.50 was released 2 months ago (which I used to test my original fix)
Huh! Well hopefully someone can take a look at the publishing pipeline soon. I must have misunderstood what happened in the logs. I am about to undergo surgery so it will take me a while to get a chance to try this again
Same here with freshly installed 0.3.50 using the "Switch to Pre-Release" button in VSCode on Windows 10. Any fix?
I believe the PR https://github.com/graphql/vscode-graphql/pull/447 indeed tried to deploy 0.3.50 however, it seems 0.3.50 was already on the store since 2 months ago even though the version in package.json was still 0.3.49 so I believe we should retrigger the release with same changelog for 0.3.51 (not sure how that works :( )
it was a bug from when I tried to get vscode pre-releases working on each merge, I think I can get it to publish in a single commit. the openvsx token with oracle is expired but I should be able to publish to vsc marketplace
0.3.52
contains this fix, enjoy! thank you @cellule!
Awesome! just tested with 0.3.52 and it's all good Thanks
Actual Behavior
It seems the windows file handling is broken. Ive tried it on two different systems with to different projects and see a lot of UnhandledPromiseRejectionWarning on both of them.
Expected Behavior
Files should be found an Windows too.
Steps to Reproduce the Problem Or Description
My graphql.config.yaml looks like that and works fine with graphql generator.
Specifications
Logs Of TS Server || GraphQL Language Service
Initial:
Open and save a gql file