spring-data-dynamodb-demo icon indicating copy to clipboard operation
spring-data-dynamodb-demo copied to clipboard

Update of objects with attributes of type Set (eg. Forum) fails with "argument type mismatch"

Open michaellavelle opened this issue 11 years ago • 0 comments

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.

michaellavelle avatar Sep 05 '13 22:09 michaellavelle