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 lexer error message from unclosed filter expressions #10

Merged
merged 1 commit into from
Mar 23, 2024

Conversation

jg-rp
Copy link
Owner

@jg-rp jg-rp commented Mar 22, 2024

Fix the error and error message arising from JSONPath queries with filter expressions and a missing closing bracket for the segment.

Previously we would get a JSONPathLexerError, stating we "can't backup beyond start", which is meant to be an internal error. We now get a JSONPathSyntaxError with the message "unclosed bracketed selection".

@jg-rp jg-rp merged commit a36642a into main Mar 23, 2024
12 checks passed
@jg-rp jg-rp deleted the lexer-error-msg branch March 23, 2024 07:54
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