-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Revisit multiple principals issue #12592
Comments
Non-nullable optional foreign keys might need #13146 |
Marking for re-triage. Proposal: we stop throwing here ever if the principal found does not match the expected type. The reasoning is that just because non of the loaded principals match does not mean that none of the principals in the database match. For the common case, a database FK constraint violation will be thrown anyway when SaveChanges is called. So the code change we would make here is to always filter out principals that match by key value but for which the type does not match. |
Issue #12592 See also the discussion in the issue.
Triage: we will merge this as is, but pinging @divega to take a look. |
Issue #12592 See also the discussion in the issue.
Issue #12227 is planned to be patched with #12571. However, some things still need doing post-patch:
The text was updated successfully, but these errors were encountered: