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
We probably don't need FluentValidation for this project. Data annotations should handle our use cases already, plus we have to add extra, misleading annotations to handle null request field validation. Specifically; we need to annotate [Required(AllowEmptyStrings = true)] in order to fix what the Swagger doc says, even though we don't actually allow empty strings for that request.
Affected Functionality
Validation, obviously
Swagger doc accuracy
The text was updated successfully, but these errors were encountered:
We probably don't need FluentValidation for this project. Data annotations should handle our use cases already, plus we have to add extra, misleading annotations to handle null request field validation. Specifically; we need to annotate
[Required(AllowEmptyStrings = true)]
in order to fix what the Swagger doc says, even though we don't actually allow empty strings for that request.Affected Functionality
The text was updated successfully, but these errors were encountered: