Got error with updateDocument
Assume that I have an object myObj= {'#00001':'value'}
I get no matter when create document with data is myObj: firestore.createDocument('testDocument', myObject)
But it will thrown an error when update document (testDocument is already exist): firestore.updateDocument('testDocument', myObj, true).
I think the error come from letter '#'. I tried to replace '#' with other like '$', ?'... and there is no more error.
The error is:
Error: Invalid property path "". Unquoted property paths must match regex ([a-zA-Z_][a-zA-Z_0-9]*), and quoted property paths must match regex ((?:[^\]|(?:\.))+) checkForError @ Request.gs:135 method_ @ Request.gs:50 patch @ Request.gs:108 updateDocument_ @ FirestoreWrite.gs:47 updateDocument @ Firestore.gs:95
@thuctien, that error is coming from Firestore API, not from this library. You can check Firestore Documentation here: https://firebase.google.com/docs/firestore/quotas.
If you scroll down, you'll see the constraints on field names (such as #1 you have in your example)
