You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
We've got an existing dynalite implementation up and running, using jest-dynalite-config.js to configure our tables. We're attempting to add attributes to an existing table to store an array of string values and we ran into the error: ValidationException: 2 validation errors detected: Value 'SS' at 'attributeDefinitions.2.member.attributeType' failed to satisfy constraint: Member must satisfy enum value set: [B, N, S]; Value 'SS' at 'attributeDefinitions.3.member.attributeType' failed to satisfy constraint: Member must satisfy enum value set: [B, N, S]
Steps to reproduce
Here is the configuration block of the existing table inside of our jest-dynalite-config.js file prior to the changes:
Describe the issue
We've got an existing dynalite implementation up and running, using jest-dynalite-config.js to configure our tables. We're attempting to add attributes to an existing table to store an array of string values and we ran into the error:
ValidationException: 2 validation errors detected: Value 'SS' at 'attributeDefinitions.2.member.attributeType' failed to satisfy constraint: Member must satisfy enum value set: [B, N, S]; Value 'SS' at 'attributeDefinitions.3.member.attributeType' failed to satisfy constraint: Member must satisfy enum value set: [B, N, S]
Steps to reproduce
Here is the configuration block of the existing table inside of our jest-dynalite-config.js file prior to the changes:
Modified as follows to add two new attributes with the 'SS' AttributeType:
Expected behavior
DynamoDB documentation indicates that the 'SS' type is a valid attribute type for representing a String Set, as long as it is not used for Hash or Range Keys. Since this isn't being used as a Hash or Range key we would expect it to work the same in Dynalite as it would in DynamoDB.
The text was updated successfully, but these errors were encountered: