Closed H4ad closed 2 years ago
I'll merge as is now, but I'll still work on adding examples for other apps.
@H4ad first of all, thank you for your great work!
Would you have an example of how to access the APIGateway event & context from Nest.JS? Shoudn't it come through the @Req param?
Thanks!
@jaaop Thanks for the kind words!
About event & context, the event is sent in the body and you can access it in ŕeq.body
, but the context is only available by getCurrentInvoke, which also exposes the event
if you want the raw event.
The current structure of examples is very bad and it doesn't help at all to know how to integrate with serverless-adapter.
So I'm going to change the folder structure to a better one.
Progress: