Hi everyone,
We've noticed quite a big discrepancy between the behaviour of the Datastore emulator and the real Firestore in Datastore mode. Specifically the emulator will throw an error if you try to do a non-ancestor query inside a transaction.
Error: 3 INVALID_ARGUMENT: Only ancestor queries are allowed inside transactions.
My understanding is that the "real" Firestore in Datastore Mode no longer imposes this restriction. The impact is that we're not able to use the emulator locally for development as our code relies on non-ancestor queries.
I've tried setting the "consistency" flag to 1.0, but that doesn't seem to help.
Is there a workaround for this issue or any possible timeline on updating the behaviour?
Apologies if I'm missing something here!
Thanks a lot
Kieran