New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Gateway Lambda integration not fully simulated #780
Comments
hey @dougmoscrop thank you for filing the issue! I'm pretty sure we can add those missing event props. |
@dnalborczyk @dougmoscrop Looks like the last master supports these event props? |
@RichiCoder1 I added some of the missing I didn't add any of the event props [yet]. |
It looks like the prop that Doug needed, |
I'm not familiar with your code base, but this property is missing for me when not using proxy integration |
Ahh, my bad. Twas me not understanding the route issue |
some of the props are included in: #776 |
should be fixed with: #776 |
I've noticed some discrepancy between what an offline event looks like and what a test event in the AWS console looks like using a simple echo function.
Background: I am the author of serverless-http and I have a few open issues with people trying to use Lambda (vs. Lambda-Proxy) integration. These users want to use Connect/Express/Koa/etc. to model their application structure like 'normal', and then just have my library map out the request/response accordingly. I think I can do this, except there's some pieces of information missing.
Here's the actual output (except
identity
, I redacted that section)Offline:
Actual:
And here's a diff:
The biggest blocker right now is
requestPath
. I need this value in order to turn the request object in to an actual URL to dispatch to the web application. The stage missing is probably also worth noting. The other diffs are of no consequence to me but may be of interest to you.The text was updated successfully, but these errors were encountered: