Skip to content

Conversation

whisller
Copy link
Contributor

@whisller whisller commented Sep 22, 2020

It seems that when accessing boolean value from dynamodb index name bool is used instead of correct one BOOL.
Have a look at https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html to see list of available attribute values

Issue #, if available:

Description of changes:

Checklist

Breaking change checklist

RFC issue #:

  • Migration process documented
  • Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…namodb. It seems that when accessing boolean value from dynamodb index name `bool` is used instead of correct one `BOOL`. Have a look at https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html to see list of available attribute values
@whisller whisller changed the title Change bool to BOOL index name when accessing boolean value in dy… fix: accessing boolean value in dynamodb utility class Sep 22, 2020
@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2020

Codecov Report

Merging #176 into develop will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@ Coverage Diff @@ ## develop #176 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 52 52 Lines 2154 2154 Branches 97 97 ========================================= Hits 2154 2154 
Impacted Files Coverage Δ
...s/utilities/data_classes/dynamo_db_stream_event.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aeb52c9...1fdfca4. Read the comment docs.

@heitorlessa heitorlessa added area/utilities bug Something isn't working labels Sep 22, 2020
@heitorlessa
Copy link
Contributor

heitorlessa commented Sep 22, 2020

Thank you for that quick fix @whisller - merging, and I'll release a patch version tomorrow morning (CEST time), in case there's anything else we missed

@whisller
Copy link
Contributor Author

@heitorlessa no worries! Thank you for quick reply!

@heitorlessa heitorlessa merged commit a520b66 into aws-powertools:develop Sep 22, 2020
@whisller whisller deleted the patch-1 branch September 22, 2020 16:56
@michaelbrewer
Copy link
Contributor

@whisller - awesome! Thank for fixing that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

4 participants