serverless-offline icon indicating copy to clipboard operation
serverless-offline copied to clipboard

fix: responses without default key

Open DorianMazur opened this issue 1 year ago • 2 comments

Description

This pull request introduces fixes for two issues in the serverless-offline repository: Issue #1705 & Issue #1680 : Resolved a TypeError encountered when destructuring properties from an undefined 'chosenResponse' object in HttpServer.js.

Motivation and Context

Fixing Issue #1705 & #1680 enhances the response handling mechanism and also resolves a critical bug that hinders the normal functionality.

How Has This Been Tested?

Tests were conducted by replicating the scenarios described in the issues. Additional e2e tests were added to cover the new scenarios and ensure no regressions in other parts of the code.

DorianMazur avatar Jan 10 '24 19:01 DorianMazur

@dnalborczyk Do you have some time to check this? It would simplify my codebase, because now I need to add everywhere default response. Also I attached 2 issues that are related to this PR.

DorianMazur avatar Jan 20 '24 11:01 DorianMazur

@dnalborczyk Do you have some time to check this? It would simplify my codebase, because now I need to add everywhere default response. Also I attached 2 issues that are related to this PR.

thank you for the PR @DorianMazur ! I'll have a look in the next coming days. hang tight.

dnalborczyk avatar Feb 09 '24 00:02 dnalborczyk

@dnalborczyk Any news?

DorianMazur avatar Mar 07 '24 15:03 DorianMazur

+1 @dnalborczyk

vadymhimself avatar Mar 24 '24 04:03 vadymhimself

+1 @dnalborczyk

JoshuaCEnrico avatar Apr 08 '24 17:04 JoshuaCEnrico

@dherault @dnalborczyk I noticed that this package has pull requests that have been pending for long time, including this one which has been waiting for 4 months. If you are seeking for additional maintainers to help manage the project, I would be happy to assist.

DorianMazur avatar Apr 14 '24 13:04 DorianMazur

That's great! We are indeed looking for maintainers. Please send me an email. You'll find it on my personal website on my GitHub profile.

dherault avatar Apr 14 '24 13:04 dherault