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
* add flag (default true) to include index, so we can pass same payload multiple times
* split interface for decorator and function wrap
* tests
* fix record return for sequential calls
* change to get command
* fix unit tests based on new handler implementation
* extend signature to pass array values to functions
* add e2e and fix unit test for new signature
* refactor tests
* get back tear down
* cleanup test
* fixed IdempotencyOption name
* fix relative import
* use same uuid across the test
* refactored idempotency options type and fix tests
* refactor IdempotencyHandler constructor
---------
Co-authored-by: Andrea Amorosi <[email protected]>
'Item has expired during processing and may not longer be valid.'
@@ -40,10 +57,31 @@ export class IdempotencyHandler<U> {
40
57
`There is already an execution in progress with idempotency key: ${idempotencyRecord.idempotencyKey}`
41
58
);
42
59
}
43
-
}else{
44
-
// Currently recalling the method as this fulfills FR1. FR3 will address using the previously stored value https://github.com/awslabs/aws-lambda-powertools-typescript/issues/447
0 commit comments