restyped-express-async
restyped-express-async copied to clipboard
TypedRequest does not include headers
This may be an appropriate fix for the spec as a whole, but HTTP Headers are not included in TypedRequest. This can make handling authentication difficult as the types don't line up (nor is there some sort of "context" object where the headers could be stripped off and processed in a typed manner by an earlier middleware.
@joearasin Can you check that if my issue is related https://github.com/rawrmaan/restyped-express-async/issues/6