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

DRY around getting the projection from ShapedQueryExpression #31015

Open
Tracked by #34524
roji opened this issue Jun 1, 2023 · 0 comments
Open
Tracked by #34524

DRY around getting the projection from ShapedQueryExpression #31015

roji opened this issue Jun 1, 2023 · 0 comments

Comments

@roji
Copy link
Member

roji commented Jun 1, 2023

In many places in the query pipeline, we extract the ShapedQueryExpression.ShaperExpression (unwrapping casts), and then extract the projection from the corresponding QueryExpression; see RelationalQueryableMethodTranslatingExpressionVisitor.TryGetProjection for an example. We should DRY this, possibly adding APIs (or extensions) to ShapedQueryExpression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants