Skip to content

refactor(backend): adopt Zod validation and strict typing - #294

Merged
johaven merged 1 commit into
mainfrom
refactor-backend-zod-validation
Oct 12, 2026
Merged

johaven merged 1 commit into
mainfrom
refactor-backend-zod-validation

Conversation

@johaven

@johaven johaven commented Oct 12, 2026

Copy link
Copy Markdown
Member
  • Replace class-validator and class-transformer with Zod
  • Keep shared validators generic
  • Make user serialization explicit and improve error handling
  • Centralize error message normalization with toErrorMessage to handle unknown values consistently

- Replace class-validator and class-transformer with Zod
- Keep shared validators generic
- Make user serialization explicit and improve error handling
- Centralize error message normalization with toErrorMessage to handle unknown values consistently
@johaven
johaven merged commit 02a0623 into main Oct 12, 2026
2 checks passed
@johaven
johaven deleted the refactor-backend-zod-validation branch October 12, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant