Skip to content

Restore previous convert visitor approach to correctly bind columns #18

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Vogel612
Copy link
Contributor

Instead of attempting to get away without using reflection (and then resorting to it anyways), this setup reuses the previously used approach to updating the SelectExpression. Due to internal changes that means a slightly different invocation of the GenerateOuterColumnAccessor preceded by a reflection-based restoration of the _sqlAliasManager that is needed for the call of PushDownIntoSubQuery. Future versions of .NET may make this obsolete by removing the use of SqlAliasManager within SelectExpression entirely, but that's a future concern.

This fixes both the projection behavior of Net9 as well as non-root offset and limit uses for net8 as introduced in #17.
@Rwing sorry it took so long to get this fix done...

Instead of attempting to get away without using reflection (and then resorting to it anyways),
this setup reuses the previously used approach to updating the SelectExpression.
Due to internal changes that means a slightly different invocation of the GenerateOuterColumnAccessor
preceded by a reflection-based restoration of the _sqlAliasManager that is needed for the call of
PushDownIntoSubQuery. Future versions of .NET may make this obsolete by removing the use of
SqlAliasManager within SelectExpression entirely, but that's a future concern.
@tonyqus
Copy link

tonyqus commented Apr 6, 2025

@Rwing Do you have time to merge this PR?

@tonyqus
Copy link

tonyqus commented Jun 13, 2025

any update?

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

Successfully merging this pull request may close these issues.

2 participants