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

Add word boundary at beginning and end of all query language keywords in query lexer #331

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

kkajla12
Copy link
Member

Describe your changes

Add word boundary at beginning and end of all query language keywords in query lexer. This prevents the lexer from incorrectly matching user-defined object-types and resources as query language keywords which can result in the query API incorrectly reporting syntax errors.

Issue number and link (if applicable)

Closes #330

@kkajla12 kkajla12 force-pushed the bug/addWordBreakCharactersToQueryLanguageLexer branch from c661b9a to 2e94686 Compare June 10, 2024 19:42
@kkajla12 kkajla12 merged commit 6a1556a into main Jun 10, 2024
5 checks passed
@kkajla12 kkajla12 deleted the bug/addWordBreakCharactersToQueryLanguageLexer branch June 10, 2024 19:57
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.

Query API Returns Syntax Error When Object Type Contains Keyword
2 participants