Closed
Description
Use case
To make functions with side effects and no return value idempotent, undefined /no return value needs to be handled. Currently, the library fails with error message: Failed to update success record to idempotency store. This error was caused by: Pass options.removeUndefinedValues=true to remove undefined values from map/array/set..
Solution/User Experience
Update DynamoDBPersistenceLayer to handle undefined with appropriate Marshall options while updating the records in the persistence store.
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.