-
-
Notifications
You must be signed in to change notification settings - Fork 346
Closed
Description
Firestore has adjusted their API, and docChanges is no longer a property, but a method... thus breaking the vuefire plugin when using Firestore.
This applies for the firebase npm module version ^5.0.0.
The error that gets reported is:
Uncaught Error: QuerySnapshot.docChanges has been changed from a property into a method, so usages like "querySnapshot.docChanges" should become "querySnapshot.docChanges()"
at new FirestoreError (index.cjs.js?5a4f:346)
at throwDocChangesMethodError (index.cjs.js?5a4f:17164)
at Function.get (index.cjs.js?5a4f:17176)
at Object.eval [as next] (vuefire.esm.js?8676:229)
at next (index.cjs.js?5a4f:16990)
at eval (index.cjs.js?5a4f:15021)
As a temporary workaround, include "firebase": "4.13.1" as a dependency in your package.json.
zhaofengli and joshualyon
Metadata
Metadata
Assignees
Labels
No labels