pinojs/pino-http

Pass response object to request ID generator

Opened this issue · 1 comments

With TypeScript and Koa, I have no good way to add a property to the request object. This means I cannot use the same ID I'm sending to the user for the generator.

I don’t really understand the issue. In typescript, you can extend the types and add your own properties if you need to.