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

nested derived properties fail filtering #69

Open
pdevito3 opened this issue Nov 14, 2024 · 0 comments
Open

nested derived properties fail filtering #69

pdevito3 opened this issue Nov 14, 2024 · 0 comments

Comments

@pdevito3
Copy link
Owner

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 @=* "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant