Gridify icon indicating copy to clipboard operation
Gridify copied to clipboard

Support the `-` character in the field names

Open alirezanet opened this issue 5 months ago • 0 comments

Discussed in https://github.com/alirezanet/Gridify/discussions/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 avatar Sep 05 '24 11:09 alirezanet