Document that type: "set"
and convertClassInstanceToMap: true
do not go well together
#668
Labels
type: "set"
and convertClassInstanceToMap: true
do not go well together
#668
UPDATE: I found out it is the marshallOptions set to
convertClassInstanceToMap: true
that created this bug. It might be good to add this to the documentation (that you must not set this option).----------Original report -------------------------
I have an attribute with type
set
andsetType: "string"
. When inserting a record with putTransaction and the attribute set to a value[SHA_HASH]
, the dynamodb record becomes{}
.I managed to reproduce the bug with the following code (for clarity I use v0.9.2):
After executing
executeAction
you find in the dynamodb the PK keysomeValue
withF1
set to{}
instead of the expected array.Setting the
type
tolist
does correctly store the array, but I wantset
for its uniqueness.The text was updated successfully, but these errors were encountered: