Description
The validation schemas define numerous rules and custom error messages, but there is no guarantee that all validation paths are covered by tests.
Problem
Validation regressions may go unnoticed.
Custom error messages may break during future refactors.
Edge cases such as empty strings, invalid ObjectIds, and boundary values are not verified.
Proposed Solution
Add unit tests for all Joi schemas.
Cover valid and invalid input scenarios.
Verify custom validation messages and boundary conditions.
Expected Outcome
Improved reliability of validation logic and reduced risk of regressions.
Please assign this issue to me under GSSoC 2026.
Description
The validation schemas define numerous rules and custom error messages, but there is no guarantee that all validation paths are covered by tests.
Problem
Validation regressions may go unnoticed.
Custom error messages may break during future refactors.
Edge cases such as empty strings, invalid ObjectIds, and boundary values are not verified.
Proposed Solution
Add unit tests for all Joi schemas.
Cover valid and invalid input scenarios.
Verify custom validation messages and boundary conditions.
Expected Outcome
Improved reliability of validation logic and reduced risk of regressions.
Please assign this issue to me under GSSoC 2026.