Skip to content

Feature request: For idempotency feature, allow no return value / undefined from lambda handlers.  #2505

Closed
@kuber-

Description

@kuber-

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

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utility

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions