FirestoreGoogleAppsScript icon indicating copy to clipboard operation
FirestoreGoogleAppsScript copied to clipboard

Support updating nested fields with dot notation

Open zhezhang77 opened this issue 3 years ago • 0 comments

Fix #146 Unable to update nested fields with custome mask in updateDocument()

  1. Add a flag 'nestedField' in updateDocument() to control if treating fields with dot notation as nested fields or single fields. If it is not set or set to false, the library will keep the original behaviour.
  2. Fields in the updater will be merged based on their inserted order
  3. Add 3 new tests to for the new flag

zhezhang77 avatar Nov 15 '22 12:11 zhezhang77