bonsai
bonsai copied to clipboard
Centralized validation using FluentValidator
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.