src/Identity/Extensions.Stores/src/IdentityRole.cs Name Should be required and not nullable #44497
Labels
area-identity
Includes: Identity and providers
design-proposal
This issue represents a design proposal for a different issue, linked in the description
✔️ Resolution: By Design
Resolved because the behavior in this issue is the intended design.
Status: Resolved
Summary
I didn't understand why IdentityRole.Name, IdentityRole.NormalizedName , IdentityUser.UserName and IdentityUser.NormalizedUserName are nullable, this are required properties and should be required
Motivation and goals
The major problem that I see is that i every place that I use the IdentityRole and IdentityUser I'll need to test if the name is null, and doesn't seem to be a reason for that.
The issue is in the #40007 change
The text was updated successfully, but these errors were encountered: