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

Update sync positional errors to be position range #476

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

DavidSGK
Copy link
Member

@DavidSGK DavidSGK commented Oct 21, 2024

We want to return the positional range of problematic nodes during sync, not just the start. This will allow us to display better UI, etc.

Includes updating the handling of TS sync errors to account for new positional ranges, which was added in the latest versions of the transformer package.

Also handles errors during Go parsing (pre-sync) which will surface syntax errors as positional errors as well.

@DavidSGK DavidSGK self-assigned this Oct 21, 2024
@DavidSGK DavidSGK merged commit 57d685a into main Oct 22, 2024
1 check passed
@DavidSGK DavidSGK deleted the david/better-sync-pos-error branch October 22, 2024 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant