Skip to content

fix: temporarily disable astro parsing again #3652

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

Merged
merged 2 commits into from
Jul 11, 2024
Merged

fix: temporarily disable astro parsing again #3652

merged 2 commits into from
Jul 11, 2024

Conversation

acao
Copy link
Member

@acao acao commented Jul 11, 2024

the astro parsing is not causing the esbuild bundling process to fail, but the resultant vscode-graphql bundle does fail on server init

follow up to re-introduce astro support: we need to refactor parseDocument and it's children to be async, and to call this.parse() asynchronously throughout the language server to work around the node worker implementation of this which causes many issues

Note: you cannot re-create this by using the vscode debug runner, but by manually running vsce:package and installing the bundled vsix

Copy link

changeset-bot bot commented Jul 11, 2024

🦋 Changeset detected

Latest commit: 20a8ef5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
graphql-language-service-server Patch
graphql-language-service-cli Patch
vscode-graphql Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@acao acao added bug lsp-server graphql-language-service-server labels Jul 11, 2024
Copy link
Contributor

The latest changes of this PR are available as canary in npm (based on the declared changesets):

@acao acao merged commit 32ea9f1 into main Jul 11, 2024
14 checks passed
@acao acao deleted the disable-astro-lsp branch July 11, 2024 17:03
@acao acao mentioned this pull request Jul 11, 2024
dimaMachina pushed a commit to dimaMachina/graphiql that referenced this pull request Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug lsp-server graphql-language-service-server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant