Skip to content

adding support for api gateway's new http apis#94

Merged
jordaneremieff merged 5 commits intoKludex:masterfrom
E-G-C:master
Apr 14, 2020
Merged

adding support for api gateway's new http apis#94
jordaneremieff merged 5 commits intoKludex:masterfrom
E-G-C:master

Conversation

@E-G-C
Copy link
Copy Markdown

@E-G-C E-G-C commented Mar 23, 2020

The proposed changes in this pull request brings initial support for the new HTTP API .
The event dictionary passed to lambda from the new HTTP API is different from the one expected from the traditional REST API therefore mangum fails in looking up some of the expected keys.

Copy link
Copy Markdown
Collaborator

@jordaneremieff jordaneremieff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

I have made a few comments in the review to resolve, but otherwise it should be fine to merge.

Also, if you could add a test that would be helpful, otherwise feel free to add a # pragma: no cover comment to the line causing the coverage script to fail in the build (https://github.com/erm/mangum/pull/94/files#diff-12d2884e46108e48b62f0482aa6988d3R103), and once the build is passing I can follow-up with a test before the next release.

@jordaneremieff
Copy link
Copy Markdown
Collaborator

Great work @E-G-C, thanks!

@jordaneremieff jordaneremieff merged commit 6871e11 into Kludex:master Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants