Skip to content
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

fix(event): Event properties don't match v1.0.3 #137

Closed
goncaloneves opened this issue Oct 26, 2016 · 2 comments · May be fixed by Itchibon777/serverless-offline#55 or Itchibon777/serverless-offline#57

Comments

@goncaloneves
Copy link

Changes in properties:

  • event.query to event.queryStringParameters
  • event.path to event.pathParameters
@leonardoalifraco
Copy link
Contributor

I think you are getting confused with the lambda-proxy integration type.

The original lambda integration type still have the query and path attributes for the event.
We are working to support the lambda-proxy integration type in this PR: #129

You can use that branch for the moment as a workaround. In a few days a new version of serverless-offline will be released with lambda-proxy instegration type support.

This is not a bug.

@goncaloneves
Copy link
Author

@leonardoalifraco Thanks for letting me know. 👍 Closing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants