puts the request.body on req.body if there is one. this resolves hanging requests when @koa/bodyparser or koa-bodyparser are used before this middleware.
updates the readme with a note about body parsing.
restructures tests and adds a few tests to ensure this works with @koa/bodyparser and koa-bodyparser
Fixes https://github.com/BlairCurrey/trpc-koa-adapter/issues/24
Changes include:
request.body
onreq.body
if there is one. this resolves hanging requests when @koa/bodyparser or koa-bodyparser are used before this middleware.