fix(validation): reject inverted date ranges and oversized payment amounts #236
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/PMS-306-validation-date-range-money-overflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add cross-field and magnitude validation at the request layer so logically invalid create payloads return 422 instead of being persisted or surfacing as a 500 (PMS-306).
Adds DB-free unit tests covering each rule.
#PMS-306