mirror of
https://github.com/floci-io/floci.git
synced 2026-11-30 08:55:17 -05:00
* fix(dynamodb): word BatchWriteItem key rejections the way AWS does A key value can arrive on three surfaces, and AWS words the rejection differently on each. The boolean that told a Key argument from a PutItem item body is now an enum with a third value for BatchWriteItem. BatchWriteItem reports a schema mismatch rather than naming the types, and uses the "are not valid." form for an empty key value. PutItem and TransactWriteItems keep the "Type mismatch for key" form. An empty binary key value is now rejected on every surface. It was accepted before, where the empty string was already rejected. * fix(dynamodb): report a missing BatchWriteItem key as a schema mismatch * fix(dynamodb): use the same empty string key wording on every surface