fix: update middy types to be aligned with 7.1.2 update#5100
fix: update middy types to be aligned with 7.1.2 update#5100willfarrell wants to merge 2 commits intoaws-powertools:mainfrom
Conversation
Clsoes middyjs/middy#1599 Signed-off-by: will Farrell <willfarrell@proton.me>
|
Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need. |
|
Hi @willfarrell, could you create an issue for this in this repo and link it to the PR. |
I got my agent to copy the Middy.js issue and incorporate it into an issue for this repo - thanks for the bias for action of creating a PR here - only one small comment picked up from the SAST. |
Signed-off-by: will Farrell <willfarrell@proton.me>
|
|
@tstephen-nhs, can you talk a look at this and confirm if it resolves the root issue |



Summary
Type improvements in @middy/core 7.1.2 caused a type miss-match with powertools.
Changes
allow
undefinedin response / errorCloses middyjs/middy#1599
Fixes #5102
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.