bonsai icon indicating copy to clipboard operation
bonsai copied to clipboard

Centralized validation using FluentValidator

Open impworks opened this issue 5 years ago • 0 comments

Currently validation is split between attribute-based rules and custom logic in managers. This causes several issues:

  • Partial validation: e.g. if you don't enter "Name" during user registration, the "Password" field will not even be checked.
  • Hard to support

This should be refactored to use FluentValidation for all model validation.

impworks avatar Nov 29 '19 10:11 impworks