You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnAssertQuery<Customer>(
isAsync,cs => cs.Where(c =>new{ x = c.City}==new{ x ="London"}));
It client evals because the constant is of type anonymous type which TypeMappingSource can never map. We need to be smart about identifying such pattern and deconstruct it. We do similar for joins already (or even for Where), when there are server correlated parameters which causes lack of ConstantExpression.
The text was updated successfully, but these errors were encountered:
Note: the above with an anonymous type, but the same applies also the ValueTuple/Tuple. For those, possibly consider row values when dealing with this (#26822, npgsql/efcore.pg#2349) (i.e. the above could be rendered as (x, y) = (3, 4)).
It client evals because the constant is of type anonymous type which TypeMappingSource can never map. We need to be smart about identifying such pattern and deconstruct it. We do similar for joins already (or even for Where), when there are server correlated parameters which causes lack of ConstantExpression.
The text was updated successfully, but these errors were encountered: