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

Corrects a bug with an empty query in VSCode #172

Merged
merged 2 commits into from
Feb 7, 2024
Merged

Conversation

ncordon
Copy link
Collaborator

@ncordon ncordon commented Feb 6, 2024

What

When writing something with an error, i.e MATCH (n) in VSCode, and replacing it with an empty query, we were still showing the old error.

Why

Because we were not sending empty diagnostics in the case of an empty query.

Copy link
Collaborator

@OskarDamkjaer OskarDamkjaer left a comment

Choose a reason for hiding this comment

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

Good catch! 💯

@ncordon ncordon merged commit f31477a into main Feb 7, 2024
4 checks passed
@ncordon ncordon deleted the bug-empty-query branch February 7, 2024 10:36
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.

2 participants