aws-wrap icon indicating copy to clipboard operation
aws-wrap copied to clipboard

dynamodb : implicit Map[String, T]

Open etaty opened this issue 10 years ago • 3 comments

~~If you know how to remove the implicitly[] ?~~

etaty avatar Dec 09 '15 14:12 etaty

should be ok for review/merge

etaty avatar Dec 11 '15 12:12 etaty

Hum there is a big problem http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html

DynamoDB also supports types that represent number sets, string sets and binary sets. Attributes such as an Authors attribute in a book item and a Color attribute of a product item are examples of String Set type attributes. Because each of these types is a set, the values in each must be unique. Attribute sets are not ordered; the order of the values returned in a set is not preserved. DynamoDB does not support empty sets.

But the current encoder convert a scala Iterable to a dynamoDB Set, but it is wrong. For me we should not even support dynamoDB Set because they can't be empty. But all scala collection can be empty

etaty avatar Dec 11 '15 14:12 etaty

@etaty I have forked this repo and publish it under version 0.9.0 https://github.com/mingchuno/aws-wrap

Can you submit a new PR if you still need?

mingchuno avatar Jul 16 '16 19:07 mingchuno