-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Labels
commonsThis item relates to the Commons UtilityThis item relates to the Commons UtilitycompletedThis item is complete and has been merged/shippedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utility
Description
Use case
Across the project we decode base64 encoded strings in two places: the Parameters utility when fetching configurations from AppConfig, and the upcoming JMESPath utility when using the powertools_base64()
custom function.
To avoid code duplication we should extract this functionality in the commons package so that it can be reused by both consumers.
Solution/User Experience
The utility should have a small footprint and an isolated export so that it can be tree shaken and removed from bundle when not used.
Alternative solutions
No response
Acknowledgment
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- 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.
Metadata
Metadata
Assignees
Labels
commonsThis item relates to the Commons UtilityThis item relates to the Commons UtilitycompletedThis item is complete and has been merged/shippedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utility
Type
Projects
Status
Shipped