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

Accept more BodyInit types such as FormData, URLSearchParams, Blob, ArrayBuffer, ReadableStream, etc #10

Merged
merged 1 commit into from
May 8, 2023

Conversation

gustavoguichard
Copy link
Owner

In order to use this package with more types of APIs not only JSON based, we need to accept every form of BodyInit and only stringify things that are shaped like a JSON.

This will allow this lib to be used with modern frameworks that make heavy usage of Streams, FormData, and etc.

@gustavoguichard gustavoguichard merged commit c09a993 into next May 8, 2023
@gustavoguichard gustavoguichard deleted the accept-more-bodyinit-types branch May 8, 2023 18:42
@gustavoguichard gustavoguichard restored the accept-more-bodyinit-types branch May 8, 2023 18:42
@gustavoguichard gustavoguichard deleted the accept-more-bodyinit-types branch May 8, 2023 18:42
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.

1 participant