pino-http
pino-http copied to clipboard
Pass response object to request ID generator
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.