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

Support the - character in the field names #219

Open
alirezanet opened this issue Sep 5, 2024 Discussed in #218 · 0 comments
Open

Support the - character in the field names #219

alirezanet opened this issue Sep 5, 2024 Discussed in #218 · 0 comments
Labels
bug Something isn't working

Comments

@alirezanet
Copy link
Owner

Discussed in #218

Originally posted by arden828 September 5, 2024
By using - in property will fail the Lex Parsing. Just want to check, currently it is only support Letter, _ and .

The following code will show "bad character input: '-', at index 8" in syntaxTree.Diagnostics

var syntaxTree = SyntaxTree.Parse("property-name = value", []);

Any chance to extend it? or make it customisable? As we are using "-" in db columns and we are building customised QueryBuilder as well.

Thanks

@alirezanet alirezanet added the bug Something isn't working label Sep 5, 2024
@alirezanet alirezanet changed the title Possible to support special characters in Property Name? Support the - character in the field names Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant