Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearing data property after DTO validation #79

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

WendellAdriel
Copy link
Owner

This fixes the issue reported in #77
After the DTO is validated, there's no need to keep the data in the $data property.
This PR fixes this by resetting the value of the $data property to an empty array after the validation is applied.

@WendellAdriel WendellAdriel merged commit 7a33667 into main Jul 12, 2024
16 checks passed
@WendellAdriel WendellAdriel deleted the feat/drop-unmapped-data branch July 12, 2024 13:57
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.

None yet

1 participant