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

Fix to #24953 - Different orders of Include()/Where() in queries produce different results #25716

Merged
merged 1 commit into from
Aug 26, 2021

Conversation

maumar
Copy link
Contributor

@maumar maumar commented Aug 25, 2021

Problem was that we were not merging includes for the EntityReference that we retrieve from foreign key expansion cache. If the translation was added to the cache before all the includes were marked and more includes were added afterwards, those includes would be lost.
Fix is to merge includes just like we do for the scenario where we need to expand the FK translation.

Fixes #24953

@maumar maumar requested a review from smitpatel August 25, 2021 21:04
…uce different results

Problem was that we were not merging includes for the EntityReference that we retrieve from foreign key expansion cache. If the translation was added to the cache before all the includes were marked and more includes were added afterwards, those includes would be lost.
Fix is to merge includes just like we do for the scenario where we need to expand the FK translation.

Fixes #24953
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.

Different orders of Include()/Where() in queries produce different results
2 participants