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

fix(http): support for JSON array payloads #564

Merged
merged 1 commit into from
May 2, 2024

Conversation

fergusean
Copy link
Contributor

Summary of changes

JSON array payloads are converted into objects by formidable. This prevents HttpBody/HttpBodyValidator from properly validating the data (it doesn't pass the isIterable check, so body ends up being undefined after serialization).

Relinquishment of Rights

Please mark following checkbox to confirm that you relinquish all rights of your changes:

  • I waive and relinquish all rights regarding this changes (including code, text, and images) to Deepkit UG (limited), Germany. This changes (including code, text, and images) are under MIT license without name attribution, copyright notice, and permission notice requirement.

@marcj marcj merged commit feeeaa6 into deepkit:master May 2, 2024
6 checks passed
@marcj
Copy link
Member

marcj commented May 2, 2024

thanks @fergusean !

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