Open trevore-q4 opened 2 years ago
I have the same problem. This is pretty much a show stopper for me. I need to be able to patch nested objects.
Same issue here. ORM that does not update an entire record must fix
https://github.com/awslabs/dynamodb-data-mapper-js/issues/201
It appears this project isn't being maintained any more. So don't hold your breath for this feature.
I have an object like:
Using DataMapper.update with the onMissing option set to
skip
, if I try to update a single property in the nested object, all missing properties are removed, not skipped as the option would suggest.Sample code:
Result is that
valueA
gets stripped from the document.