-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: array jmespath fail in idempotency module #1420
Conversation
da0c3d9
to
f79605e
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
...ain/java/software/amazon/lambda/powertools/idempotency/persistence/BasePersistenceStore.java
Show resolved
Hide resolved
...ain/java/software/amazon/lambda/powertools/idempotency/persistence/BasePersistenceStore.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Question before we merge - 1/ how did you discover this and 2/ is there anything else in the JMESPath stuff that might be suspicious that jumped out during this change?
@scottgerring, I found this with the workshop we're doing for re:Invent. There are lots of tests but looks like we still don't cover all the branches... |
Has this been released? We have a TODO item in the workshop about this. |
Not released yet. In the next one, should be around mid-november. |
Issue #, if available: #1419
Description of changes:
Changed the implementation of
BasePersistenceStore#isMissingIdemPotencyKey()
to iterate over elements instead of fields.Checklist
Breaking change checklist
RFC issue #:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.