🧩 Issue: Move All DTOs to Their Domain Modules (dto/)
📝 Description
DTOs are currently in src/dtos/. Move them into their respective src/modules/<domain>/dto/ folders.
✅ Tasks
- Move DTOs to the correct module.
- Normalize validations (e.g.
class-validator).
- Write unit tests for validation edge cases in
src/modules/<domain>/__tests__/dto/.
- Delete
src/dtos/ after migration.
✅ Definition of Done
- All DTOs are colocated within their domain modules
- Validations are consistently implemented
- Unit tests cover edge cases
- Legacy
src/dtos/ directory is removed
📝 Additional Notes
- Verify DTOs are used correctly in controllers and services after move
- Use
class-transformer if needed to handle nested transformations
- 📌 Upload a draft PR within 36 hours (It doesn't matter if it's not finished—just let us know you're working, also via Telegram if you have to report something)
🧩 Issue: Move All DTOs to Their Domain Modules (
dto/)📝 Description
DTOs are currently in
src/dtos/. Move them into their respectivesrc/modules/<domain>/dto/folders.✅ Tasks
class-validator).src/modules/<domain>/__tests__/dto/.src/dtos/after migration.✅ Definition of Done
src/dtos/directory is removed📝 Additional Notes
class-transformerif needed to handle nested transformations