dougmoscrop / serverless-http

Use your existing middleware framework (e.g. Express, Koa) in AWS Lambda 🎉
Other
1.71k stars 164 forks source link

Resolves the multiple emit from #280 #286

Closed palfrey closed 9 months ago

palfrey commented 10 months ago

This PR resolves the multiple emit situation from #280. It needs the integration test work from https://github.com/dougmoscrop/serverless-http/pull/288 merging first. There is then the code in 4338f34e5e92c8f33a2caf90242e728da305de14 based on https://github.com/zoellner/serverless-http-pino-bug that demos the failure case followed by 4c9a15b30586ce5114d836975a48fe1ee7a88c70 to actually fix the problem.