firebase-mock icon indicating copy to clipboard operation
firebase-mock copied to clipboard

Behavior on `undefined` fields does not match Firestore

Open lesmo opened this issue 5 years ago • 0 comments

Firestore does not allow for document fields with undefined value. firebase-mock does not seem to simulate this behavior:

firestore.collection('mines').add({
  be: 'happy',
  say: undefined // this throws an error on real Firestore
});

lesmo avatar Apr 02 '20 23:04 lesmo