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

[6.0] Respect AsNoTrackingWithIdentityResolution in AsTracking method #26233

Merged
merged 2 commits into from
Oct 3, 2021

Conversation

ajcvickers
Copy link
Member

Fixes #26227.

This fixes a 🤦 bug where calling AsTracking with NoTrackingWithIdentityResolution was not being respecting and the query would be executed with NoTracking instead.

Fixes #26227.

This fixes a 🤦 bug where calling `AsTracking` with `NoTrackingWithIdentityResolution` was not being respecting and the query would be executed with `NoTracking` instead.
@ajcvickers ajcvickers requested a review from a team October 1, 2021 22:17
@ajcvickers
Copy link
Member Author

@Pilchie for 6.0.

@Pilchie
Copy link
Member

Pilchie commented Oct 2, 2021

Approved for EF Core 6.0 GA.

@ajcvickers ajcvickers merged commit c634711 into release/6.0 Oct 3, 2021
@ajcvickers ajcvickers deleted the WhistlingNothingToSeeHere1001 branch October 3, 2021 09:51
@roji
Copy link
Member

roji commented Oct 3, 2021

@ajcvickers do we want to backport this?

@ajcvickers
Copy link
Member Author

@roji We decided not in triage. The workaround is really easy. And it could break existing apps by silently changing behavior, even though the behavior is technically wrong.

@roji
Copy link
Member

roji commented Oct 3, 2021

Right, sorry - forgot.

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