QueryKit icon indicating copy to clipboard operation
QueryKit copied to clipboard

nested derived properties fail filtering

Open pdevito3 opened this issue 1 year ago • 0 comments

something like one of the below should work

config.DerivedProperty<User>(x => x.UserProfile.FirstName + " " + x.UserProfile.LastName).HasQueryName("name");
// or
config.DerivedProperty<UserProfile>(x => x.FirstName + " " + x.LastName).HasQueryName("name");

but fails with

QueryKit.Exceptions.ParsingException: There was a parsing failure, likely due to an invalid comparison or logical operator. You may also be missing double quotes surrounding a string or guid.

Parsing failure: unexpected 'a'; expected end of input (Line 1, Column 91); recently consumed: name @=* "

pdevito3 avatar Nov 14 '24 15:11 pdevito3