Skip to content

Issue with Parsing Field Names Containing Hyphens #37

Closed
@RahafTahayneh

Description

@RahafTahayneh

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

Metadata

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