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
There is where K : notnull constraint on keys. If you are not seeing a compiler error/warning when being passed a nullable reference type, please make sure you have <Nullable>enabled</Nullable> in your project file and optionally <WarningsAsErrors>nullable<WarningsAsErrors> for the best experience.
If you need a key value that represents None, you can wrap the key into a struct which can internally have a nullable reference/value representing that:
or do I have to store a NullObject (using the Null Object pattern) ?
The text was updated successfully, but these errors were encountered: