You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Firestore transactions require all reads to be executed before all writes.
at Transaction.get (/workspace/node_modules/@google-cloud/firestore/build/src/transaction.js:76:19)
at /workspace/lib/firestore/tests-write.js:46:11
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Transaction.runTransaction (/workspace/node_modules/@google-cloud/firestore/build/src/transaction.js:323:26)
at async /workspace/lib/firestore/tests-write.js:43:5
Environment details
@google-cloud/firestoreversion: 4.5.0firebase-admin: 9.6.0firebase-functions: 3.13.2Steps to reproduce
Docs states that you can execute reads after writes, but as it turns out you cannot. Is that a bug or misleading documentation?
Will result in error: