-
-
Notifications
You must be signed in to change notification settings - Fork 473
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
feat: adhere to Fetch API "Request" in response resolver #1316
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit b4ad14c:
|
604baca
to
b33ad37
Compare
Thank you once again for shaping this up, @95th! I will take a look at this tomorrow/Monday. Let's make this change happen! |
Released: v0.44.0 🎉This has been released in v0.44.0! Make sure to always update to the latest version ( Predictable release automation by @ossjs/release. |
GitHub
Changes
req
instance in the handler more compliant with Fetch API's Request.IsomorphicRequest
from the Interceptors that now has methods liketext()
,json()
andarrayBuffer()
to read request body as respective data types.Dependency updates
Roadmap
req.text()
req.json()
req.arrayBuffer()