-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[question] Expression Rewriting #18244
Comments
Putting this on the backlog to consider adding hooks for this. However, there are different places in the pipeline where visitors can run, and different constraints/requirements for each place, so it is not trivial to create a pit-of-success for such extensibility. |
Covered by #19748 |
ajcvickers
added
closed-duplicate
and removed
type-enhancement
consider-for-current-release
area-query
labels
Nov 10, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently have an expression rewriter (using ExpressionVisitor) that takes the predicate or selector and converts it to something EF can understand using our EAV model...
e.g. queryable.Where(EFHelpers.Rewrite(e => e.name = "matt")));
We have this working nicely now, its ugly to have to wrap every expression. Is there a way to intercept expressions without this explicit wrapping each time or something like dbContext.ExpressionVisitor = ourVisitor ?
The text was updated successfully, but these errors were encountered: