pino-http icon indicating copy to clipboard operation
pino-http copied to clipboard

The reqId type is overly-broad

Open jamiehodge opened this issue 1 year ago • 3 comments

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.

jamiehodge avatar Jan 23 '23 13:01 jamiehodge