Relative Content

Tag Archive for c#genericsamazon-dynamodbdeserialization

Why can’t DynamoDB deserialize IList in .NET?

I previously had properties of type List<T> and this worked fine with DynamoDB. However, according to CA1002, we should not expose generic lists, so I changed to using IList<T>. This is causing a problem with DynamoDB, particularly during deserialization. Serialization seems fine as I can see L – List data type descriptor in each row.