pino-http
pino-http copied to clipboard
The reqId type is overly-broad
The patching of the http IncomingMessage to add the id
properly is arguably bad, but that discussion aside, reqId
is too broad. The inclusion of number
and object
seems odd, considering that this value should be serialisable as a string in a header.