benhutchins / dyngoose

Elegant DynamoDB object modeling for Typescript.
https://www.npmjs.com/package/dyngoose
ISC License
89 stars 14 forks source link

updatedAt attribute with { nowOnUpdate: true } doesn't get updated during partial updates #613

Closed alexbu92 closed 1 year ago

alexbu92 commented 1 year ago

As title, doing a Model.idIndex.fromKey({ id }).setValues(updates).save() doesn't update the updatedAt attribute with the time of the save.