Closed dzcpy closed 7 years ago
It should pass the tests nnow
it better to create a next
branch to support koa@2.
and personally -1 to rewrite with raw promise(without async await). can't we just use koa-convert
to support koa@2 now?
Well, what do you mean raw promise? There's no additional Promise libraries used nor native Promise. Just thenify which already exists since v1.
actually I'm dislike direct using promise in koa's middleware, It was design for async await. I'd rather using generator function for now(without async await being native).
closed by #26
CI failed :)