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

Problem with filtering nested object properties #167

Open
illunix opened this issue Jan 27, 2022 · 1 comment
Open

Problem with filtering nested object properties #167

illunix opened this issue Jan 27, 2022 · 1 comment

Comments

@illunix
Copy link

illunix commented Jan 27, 2022

If I try filter any other property that is not from nested object it works, but if try filter nested object property it does not idk why
image
image
image

@lukaszkepa
Copy link

I think it's because of the null check which is added here: https://github.com/Biarity/Sieve/blob/master/Sieve/Services/SieveProcessor.cs#L296
In this case .Where(u => new User { FirstName = ..., LastName = ... } != null) cannot be translated to SQL. I'm struggling with the same issue.

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

2 participants