Issue #12 new

Does not give ValidationException when set contains duplicates

Michael Hart
created an issue

DynamoDB gives a 'ValidationException' 'Input collection contains duplicates' error (status 400) when a set type (SS, NS, BS) contains duplicate values when trying to put an item.

ddbmock seems to allow duplicates in sets, and even retrieves them, without error.

DynamoDB also seems to consistently retrieve sets with items in ascending order for SS and BS types, and descending order for NS types - it would be nice to duplicate this functionality as well, even though I realise it's not guaranteed.

Comments (0)

  1. Log in to comment