-
Notifications
You must be signed in to change notification settings - Fork 165
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
QueryOptimizer with EFCore? #172
Comments
same problem here :-( |
There is a fix now released, hopefully that helps. |
@Thorium |
I thin LinqKit already "handles" the Extension case (or rather, ignores Extensions) and the problem was only with the Linq.Expression.Optimizer. I don't know why EF Core suddenly needs extensions to ExpressionTrees. So I don't know if the ignoring is the correct design, but definitely it sounds a bit suspicious that we have the LINQ "language" (which was made mathematically properly originally) and then we have some extensions, probably for injecting something impure. |
I also don't know why. I noticed that this new version works nicely with my efcore 6/7 example in this project: https://github.com/StefH/QueryInterceptor.Core |
Not sure whether this should work or not, but I'm struggling to use the query optimizer with EFCore.
Seems that a simple query such as the following one fails:
Returns an error:
Is this expected?
The text was updated successfully, but these errors were encountered: