dotnet / dotnet/efcore

AOT: redesign liftable constant expression so that original expression comes from evaluating the resolver rather than passing it separately

Open
#33,447 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Currently we provide original constant expression and the resolver lambda to produce the liftable version. There is a problem of duplication as well as potential differences between precompiled and normal queries.
Instead, we could produce "original" by instantly evaluating the resolver lambda, which would solve both issues above.
Problem is that we need to redesign LCE so that materialization context is available right away for the purpose of evaluation the resolver expression.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.