It's hard to use the actual processRequest for Lambda because it does not give me a request, response model to follow to write a middleware. I've rewritten it to accept an event given in
exports.handler = async (event, context) => {}
https://gist.github.com/samin/976271f97b03bba14017a760570df88a
Would it be possible to add it?
It's hard to use the actual
processRequestfor Lambda because it does not give me arequest,responsemodel to follow to write a middleware. I've rewritten it to accept aneventgiven inexports.handler = async (event, context) => {}https://gist.github.com/samin/976271f97b03bba14017a760570df88a
Would it be possible to add it?