backend
backend copied to clipboard
why shim
I had an issue when deployed on AWS related to shim dependency, is there any reason we use it? can it be optional?
What was the issue? Maybe using aws-lambda component would be a better fit for you use case?
The shim doesn't do much, but it makes Lambda a bit more approachable since you only need to export a single mono function without having to worry about handlers, a lot like Micro.
@eahefnawy I was tried to deploy a NestJS application and got an error when handling an API event, the error relates to shim.
The handler works well when I use native serverless with CloudFormation. So I think using shim should be configurable as well. That would be great. We don't need to worry about Micro when using NestJS
@hoang-innomizetech what was the error? It seems to be a bug.