Open
Description
Hi.
I'm using FastBoot for a Firebase project and every time I pass in an object to their API, it ends up with this error
FirebaseError: Function addDoc() called with invalid data. Data must be an object, but it was: a custom Object object (found in document users/XqAOYqMtDfw0qXrDCMOM)
The code is as simple as
const db = firebase.firestore();
db.collection('users').add({ name: 'Test User' });
I see a similar issue in Nuxt.js and I'm wondering if we're having the same case for FastBoot?
What I've tried so far is to disable the prototype extension but it doesn't seem to fix it.
Relevant links:
Metadata
Metadata
Assignees
Labels
No labels