-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
Description
Describe your environment
- Operating System version: MacOS 10.14.5
- firebase-admin version: 7.3.0
- @firebase/testing version: 0.9.4
- Firebase Product: firestore, emulator, testing
Describe the problem
When I try and use FieldValue.increment
in an update
or set
when using @firebase/testing
(with the Firestore emulator) I get:
FIRESTORE (6.0.2) INTERNAL ASSERTION FAILED: AsyncQueue is already failed: Error: FIRESTORE (6.0.2) INTERNAL ASSERTION FAILED: Transform results missing for TransformMutation.
Relevant Code:
This produces the error:
await siteDoc.ref.update({ field: firebase.firestore.FieldValue.increment(1) })
If I don't use increment
then it works:
await siteDoc.ref.update({ field: 1 })
I understand this could be the emulator not being up to date but thought I'd post here first.