Closed matthias-pichler-warrify closed 2 years ago
closing this in favour of #374 holding relevant topics to be updated in the docs, serving as a knowledge base for now and also describing the strategy of the technical solution of the documentation part, envision it to be closer to the source code of the project
Describe the bug
When I try to deploy my TypeScript Lambdas using the
@aws-cdk/aws-lambda-nodejs
the invocations fail with:Since
@aws-cdk/aws-lambda-nodejs
uses esbuild which doesn't supportemitDecoratorMetadata
this isn't surprising.However for some reason transpiling with
tsc
first doesn't solve the issue either.A PR is currently open in the
@aws-cdk
repo to do exactly this to work around this. I tried their approach without success. Will this PR makedynamo-easy
work with@aws-cdk/aws-lambda-nodejs
?To Reproduce Steps to reproduce the behavior:
dynamo-easy
@aws-cdk/aws-lambda-nodejs
Expected behavior
Additional context