Skip to content
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

Fix async parser implementation #1389

Merged
merged 2 commits into from
Feb 28, 2024
Merged

Fix async parser implementation #1389

merged 2 commits into from
Feb 28, 2024

Conversation

msujew
Copy link
Member

@msujew msujew commented Feb 27, 2024

The current implementation has a few issues in the hydrator, especially related to CST transmission. This change improves on these issues and adds tests to ensure that the CST is correctly transmitted across worker threads.

@msujew msujew added the parser Parser related issue label Feb 27, 2024
Copy link
Contributor

@montymxb montymxb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, this looks pretty good to me, tests look nice as well.

Copy link
Contributor

@sailingKieler sailingKieler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wording improvement, and I agree with @Lotes, otherwise it's great! 🚀

packages/langium/src/serializer/hydrator.ts Outdated Show resolved Hide resolved
@msujew msujew merged commit c87b314 into main Feb 28, 2024
5 checks passed
@msujew msujew deleted the msujew/fix-async-parser branch February 28, 2024 16:39
@spoenemann spoenemann added this to the v3.0.0 milestone Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser Parser related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants