dotnet / dotnet/efcore

Warn when FK and navigation nullability are inconsistent

Open
#27,925 0 comments 0 reactions 0 assignees View on GitHub
area-logging area-model-building
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

That is, when a navigation is required, but the FK is optional, or vice versa. This only applies when NRTs are being used, since otherwise the navigation nullability does is not a good indicator of whether or not the relationship is required.

See #27859.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.