DenisFrezzato / hyper-ts

Type safe middleware architecture for HTTP servers
https://denisfrezzato.github.io/hyper-ts/
MIT License
391 stars 18 forks source link

use koa-bodyparser to provide access to request body #7

Closed leemhenson closed 6 years ago

leemhenson commented 6 years ago

Hi Giulio

I've been using this a little bit today, it's all working great except that the earlier version's getBody function on KoaConn was referring to the response body, not the request body. I've added a peer dep to the standard koa-bodyparser package which provides access the request body.

gcanti commented 6 years ago

Thanks, do you need a new next release?

leemhenson commented 6 years ago

Yes please!

On Fri, 26 Jan 2018 at 17:36 Giulio Canti notifications@github.com wrote:

Thanks, do you need a new next release?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gcanti/hyper-ts/pull/7#issuecomment-360852034, or mute the thread https://github.com/notifications/unsubscribe-auth/AAACAx6Jn4c2a3ix6z4QmkSiaO_56Mm_ks5tOg0ggaJpZM4RuoEZ .

gcanti commented 6 years ago

Done