olmps / memo

Memo is an open-source, programming-oriented spaced repetition software (SRS) written in Flutter.
BSD 3-Clause "New" or "Revised" License
1.83k stars 159 forks source link

`MemoRepository` tests #256

Closed ggirotto closed 2 years ago

ggirotto commented 2 years ago

Somewhat unrelated to the testing of this repository itself, but what would happen if we exceed all of these transactions with > than 500 operations, which is the firestore limit? I would guess our current solution doesn't support them, so I guess we must address this limitation (I would say if > 500 OPs, no transaction should be used), but again, offtopic to this, although a matter that we must probably address until finishing this server implementation.

You're right, but I'm not sure if we can do something related to this issue than placing docs in the runTransaction function. We cannot ensure how transactions are being made inside context.