You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem I've found is that sometimes you need to use optional/nullable foreign keys. When you do this EF Core doesn't like trying to use nullable structs for FKs. The only way I could find to fix this is to change from a record struct to record.
Should probably create a ticket to further investigte this and update the rule if necesary.
The problem I've found is that sometimes you need to use optional/nullable foreign keys. When you do this EF Core doesn't like trying to use nullable structs for FKs. The only way I could find to fix this is to change from a
record struct
torecord
.Should probably create a ticket to further investigte this and update the rule if necesary.
See usages of
TeamId
for more details.If needed update the rule - https://www.ssw.com.au/rules/do-you-use-strongly-typed-ids/
The text was updated successfully, but these errors were encountered: