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

Don't throw when attempting to load from a newly Added entity with unknown FK values #32343

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

ajcvickers
Copy link
Contributor

Fixes #32314

…known FK values

Fixes #32314

We added this check primarily for lazy-loading of untracked entities. However, it causes a regression when accessing navigation properties on newly Added entities, where a no-op is reasonable.
@ajcvickers
Copy link
Contributor Author

Again, will cherry-pick for 8.0.

@ajcvickers ajcvickers requested a review from a team November 18, 2023 13:24
@ajcvickers ajcvickers merged commit 5488f27 into main Nov 20, 2023
7 checks passed
@ajcvickers ajcvickers deleted the 231118_NotYetBeacher branch November 20, 2023 19:16
ajcvickers added a commit that referenced this pull request Nov 20, 2023
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.

EFC8: Lazy Loading regression on newly created objects
2 participants