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

Issue with Parsing Field Names Containing Hyphens #37

Open
RahafTahayneh opened this issue Aug 28, 2024 · 0 comments
Open

Issue with Parsing Field Names Containing Hyphens #37

RahafTahayneh opened this issue Aug 28, 2024 · 0 comments

Comments

@RahafTahayneh
Copy link

Description:
There appears to be an issue with the liqe parser when handling field names that contain hyphens (-). When field names with hyphens are used in search queries, the parser returns syntax errors.

Steps to Reproduce:
Use the following search query in a liqe-based application:

const filter = "attrs.user-id:12345";
const ast = parse(filter);

The parser throws a SyntaxError

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

No branches or pull requests

1 participant