-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(lambda-nodejs) experimental decorators support #15631
feat(lambda-nodejs) experimental decorators support #15631
Conversation
Title does not follow the guidelines of Conventional Commits. Please adjust title before merge. |
…al-decorators-support
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
This is basically everything that I think is needed to support |
@whimzyLive thank you for this PR. I will have more time to review it in August (or maybe someone from the CDK team will review it before). Question: when working with the AWS CDK in TypeScript you usually have a |
@jogold No worries, I still have some work to do around the assets' temp-bundling is managed so August is fine.
The answer to this question is Yes and No. In a normal dev workflow, this is statement stands corrected but we are working with a monorepo consisting of many CDK/Ts apps and because of many unrelated issues (i.e slowness), we have decided to completely remove the |
924c117
to
ebfd5f2
Compare
This PR has been deemed to be abandoned, and will be closed. Please create a new PR for these changes if you think this decision has been made in error. |
Just want to confirm... lambda-nodejs does not support decorators, right? So if I'm using a library that uses them like typedi or typeorm, then would it be best to use a docker image? |
Desciption
esBuild doesn't support emitting typescript metadata which break workflow of many popular libraries that relies on such runtime metadata information. i.e Nestjs, TypeORM. TypeDORM.
Since this is an experimental feature, ESBuild doen't have any immidiate plan to support it.
Typescript's default tsc compiler does support this and other experimental features. Therefore, This PR adds support for typescript's experimental features by optionally executing tsc on the soruces before passing it through to esBuild for bundling.
For more information, look at the issue #13767
Tasks
bundling-temp-x
locationscloses #13767
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license