Open
Description
Expected behavior
Import preserves NaN values and completes the import
Actual behavior
If a document contains NaN values, they are translated to "undefined" which makes firebase import fail
Steps to reproduce the behavior
let profileData = {
__collections__:{},
nanField: parseFloat("sfg"),
}
const profileRef = firebase.firestore().doc(`users/${uid}`);
await firestoreImport(profileData, profileRef)
Metadata
Metadata
Assignees
Labels
No labels