-
-
Notifications
You must be signed in to change notification settings - Fork 670
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
Using json() and parseBody() same times #3881
Comments
I see Line 229 in 093d3fd
It is used as a "computed" function to In my case, I am posting FormData, but when I try to parse it into JSON, the logic of |
Can you provide a minimal project to reproduce it? |
No response. I'll remove the |
This issue has been marked as stale due to inactivity. |
Closing this issue due to inactivity. |
What version of Hono are you using?
4.6.18
What runtime/platform is your app running on? (with version if possible)
Nodejs
What steps can reproduce the bug?
RequestKernel.ts class
Request.test.ts
What is the expected behavior?
request.input
should be(Parsed from FormData, json is error will be skipped)
What do you see instead?
Inside allSettled().then()
I got Array<PromiseResult> with a same error:
But I'm using parseBody(), json() as sequence, it's working
Additional information
I'm using Nodejs v20.17.0
The text was updated successfully, but these errors were encountered: