You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is used as a "computed" function to get and set data in bodyCache.
In my case, I am posting FormData, but when I try to parse it into JSON, the logic of #cachedBody() always returns the first result of the parsing process, including any parsing errors.
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: