spring-data-dynamodb-demo
spring-data-dynamodb-demo copied to clipboard
Update of objects with attributes of type Set (eg. Forum) fails with "argument type mismatch"
Sending a JSON PUT/POST request for an object such as Forum which has an attribute of type Set fails if content for that attribute is provided in the JSON body.
I think this occurs because a custom deserializer is needed to convert from JSON list to Set on object binding. It looks like JSON annotations on the POJOs and attempts to customise deserialization are failing due to conflict of Jackson 1 and 2 libraries pulled in by AmazonDBClient and Spring Data Rest respectively.