4ossiblellc / dynamodb-update-expression

A small library providing the solution to return the DynamoDB update expression.
MIT License
25 stars 15 forks source link

Setting an empty list attribute creates no update expression #21

Closed mrclay closed 5 years ago

mrclay commented 5 years ago

I'm using arrayMerge: 'replaceMerge', which did solve one issue with old list values persisting, however setting an empty array results in no update.

mrclay commented 5 years ago

Disregard. I inherited this code and it was "cleaning" away the empty array I was setting.