-
|
Hello! I have been using the AWS dynamo library and am working on switching to this library as it seems much more performant. However, I am having an issue with my existing data in dynamo, I am getting this error during a scan operation:
Any ideas how I might fix such an error? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @9alecj, this error happens when List-based converter is used on a field that is stored in DynamoDB as
If nothing of these helps, I can help you more if you provide the code for your entity class. Feel free to anonymize property names, etc. |
Beta Was this translation helpful? Give feedback.
Hi @9alecj, this error happens when List-based converter is used on a field that is stored in DynamoDB as
StringSet. It's hard to pinpoint an exact location without seeing your code but I can suggest looking at these cases:HashSet<T>to array-based type such asList<T>orT[], etc. So under the hood the list based converter is used now.StringSet. And during migration you didn't apply the converter or migrated converter usesListas an underlying DynamoDB type.HashSet<TEnum>that was in fact serialized asStringSet.If nothing…