Yusuke Wada
Yusuke Wada
Please wait! pnpm may possibly cause a dependency-related problem. I’ll try to investigate it. Anyway, thanks!
No. We don't need `pnpm`. Closing. Thanks @ThatOneBro !
Hi @skitsanos ! Do you want to upload and get files with `multipart/form-data`? If so, you can use [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData), but unfortunately, it is not implemented in Bun yet. Below is...
I think we have to use the web-standard API as much as possible. In the case of Bun, it seems to be difficult to import `FormData` from WebKit now. https://github.com/oven-sh/bun/issues/621...
Ah, yes. I know it:)
@skitsanos How about doing "polyfill"? I have not used it, but there is a library like this: https://www.npmjs.com/package/formdata-polyfill > In hono you could add multipart parsing as wasm done from...
Hi @isaac-mcfadyen ! Yes, Bun supported `FormData`. There is no blocker so, I would like to consider supporting "file upload". By the way do you want it? 🙂
Hi @isaac-mcfadyen ! I have thought about the "file upload" feature, but I think it would be a better way to use the `c.req.parseBody()` that we currently have. ```ts app.post('/upload',...
Hi @LebCit ! Thank you for using Hono and giving nice advice. I'll consider adding that to the website.
Hi @crivera You are right. Hono's Validator once extracts the contents of the `formData`. But, hmm, this is a necessary step to validate the `form` and `json`. I can't think...