You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please consider making the mask in updateDocument(path, fields, mask = false) true instead of false.
By default the expectation of the end-user is that the fields specified in fields are updated and it comes as a rude shock if the whole document is overwritten and it's just their new update that is reflected.
Defaulting mask = true will be consistent with document updates, with the optional choice of overwriting the whole document by consciously setting it to false.
The text was updated successfully, but these errors were encountered:
Please consider making the mask in
updateDocument(path, fields, mask = false)
true instead of false.By default the expectation of the end-user is that the fields specified in
fields
are updated and it comes as a rude shock if the whole document is overwritten and it's just their new update that is reflected.Defaulting
mask = true
will be consistent with document updates, with the optional choice of overwriting the whole document by consciously setting it to false.The text was updated successfully, but these errors were encountered: