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
[Required] Used to get generated and be super helpful with MVC validation. e.g. EF would scaffold the model with [Required]. Now it just does nullable ? fields. But this doesn't see to play nice with ModelState.IsValid anymore and you don't get warnings about missing fields.
ModelState.IsValid supports nullable ? fields or [Required] is brought back.
Any help appreciated. Thanks!
.Net Core 6.
The text was updated successfully, but these errors were encountered:
[Required] Used to get generated and be super helpful with MVC validation. e.g. EF would scaffold the model with [Required]. Now it just does nullable ? fields. But this doesn't see to play nice with ModelState.IsValid anymore and you don't get warnings about missing fields.
ModelState.IsValid supports nullable ? fields or [Required] is brought back.
Any help appreciated. Thanks!
.Net Core 6.
The text was updated successfully, but these errors were encountered: