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

Closed
alirezanet opened this issue Sep 5, 2024 Discussed in #218 · 1 comment · Fixed by #229
Closed

Support the - character in the field names #219

alirezanet opened this issue Sep 5, 2024 Discussed in #218 · 1 comment · Fixed by #229
Labels
bug Something isn't working close fixed

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
alirezanet added a commit that referenced this issue Oct 30, 2024
@alirezanet
Copy link
Owner Author

Fixed in v2.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working close fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant