Skip to content

Issue with Parsing Field Names Containing Hyphens #37

Open
@RahafTahayneh

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions