DEV Community

Discussion on: Restrict specific fields updation in Firebase Firestore

Collapse
 
dirkpostma profile image
Dirk Postma

Is there a small mistake in the most important sentence of the whole article..?

"Because request.resource.data is the object you send. It is the object that your document will become if the write happens"

should be:

"Because request.resource.data is NOT the object you send. It is the object that your document will become if the write happens"

Correct..?