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
This has never worked. In prior versions (e.g. 7.14.0) we threw an exception like this:
Failure: FirebaseError: [code=invalid-argument]: Function DocumentReference.set() called with invalid data. FieldValue.serverTimestamp() is not currently supported inside arrays
It looks like recent changes we've made to minification have broken this validation logic.
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
When using a Firestore
FieldValue
in an array, for example aserverTimestamp
ordelete
, Firestore crashes with the error:firestore-memory:
or
firstore:
Steps to reproduce:
PTAL at the codesandbox. Click "Bad Data" and it will crash Firestore.
Relevant Code:
https://codesandbox.io/s/simple-firestore-javascript-example-gmygz
As far as I know, this used to work
The text was updated successfully, but these errors were encountered: