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

Visit arguments in QueryableMethodNormalizingExpressionVisitor after converting List.Contains #32219

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

roji
Copy link
Member

@roji roji commented Nov 2, 2023

BASED ON TOP OF #32214, REVIEW 2ND COMMIT ONLY

@maumar QueryableMethodNormalizingExpressionVisitor.VisitMethodCall seems like it may have other bugs as well where arguments aren't visited - or double-visited. It's generally not very clear where the responsibility for recursing is in this method, we should probably clean this up to prevent further bugs like this.

Fixes #32215
Fixes #32218

@roji roji requested a review from maumar November 2, 2023 16:19
@roji roji merged commit 08ee676 into dotnet:main Nov 3, 2023
7 checks passed
@roji roji deleted the OtherContainsFixes branch November 3, 2023 14:48
roji added a commit to roji/efcore that referenced this pull request Nov 9, 2023
roji added a commit to roji/efcore that referenced this pull request Nov 13, 2023
roji added a commit that referenced this pull request Nov 13, 2023
…converting List.Contains (#32219) (#32266)

Fixes #32215
Fixes #32218

(cherry picked from commit 08ee676)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants