kevlened / fireway

A schema migration tool for firestore
MIT License
277 stars 41 forks source link

Log field updates for txn.update(ref, path, data) #41

Closed jakebiesinger-storyhealth closed 2 years ago

jakebiesinger-storyhealth commented 3 years ago

Logs for the update operation currently don't include the data that's being updated when using the alternative form txn.update(ref, path, data).

For example, txn.update('some/db/path/doc123', "restriction.period.end", '2021-02-21') yields the following line from the logs:

Updating some/db/path/doc123 "restriction.period.end"