Skip to content

Conversation

@clebsonsh
Copy link
Owner

Feat: Add Request DTO Support

This PR introduces support for Data Transfer Objects (DTOs) to type-hint and structure incoming request data.

Updated Request getData method to hydrates a DTO with request data. The PostHandler is updated to demonstrate this, and a feature test is included to verify the implementation. This change improves type safety and separation of concerns.

@clebsonsh
Copy link
Owner Author

100% test coverage. A few test got remove, since the functionality they were testing was remove.

image

@clebsonsh clebsonsh merged commit b8ed614 into main Aug 24, 2025
3 checks passed
@clebsonsh clebsonsh deleted the feat/add-dto-request-support branch August 26, 2025 05:04
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.

2 participants