You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dreamorosi opened this issue
Oct 18, 2023
· 2 comments
· Fixed by #1754
Assignees
Labels
completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
A few weeks ago we changed our tsconfig.json file to adopt TypeScript 5.0 (#1672) and in doing so we inadvertently enabled the removeComments option from the compilerOptions. This caused the docstrings to be stripped from the built output.
We should set the option back to false so that comments are kept.
Why is this needed?
So that customers can get info and examples about methods in their IDEs when using Powertools.
Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered:
dreamorosi
added
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
confirmed
The scope is clear, ready for implementation
labels
Oct 18, 2023
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Summary
A few weeks ago we changed our
tsconfig.json
file to adopt TypeScript 5.0 (#1672) and in doing so we inadvertently enabled theremoveComments
option from thecompilerOptions
. This caused the docstrings to be stripped from the built output.We should set the option back to
false
so that comments are kept.Why is this needed?
So that customers can get info and examples about methods in their IDEs when using Powertools.
Which area does this relate to?
Automation
Solution
No response
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: