News for hackers. Stuff that matters.
Re:Show HN: Firestorm – An ORM for Firestore by latchkey on Sunday August 25, 2019 @11:59PM (#20797369)
omg, I literally just yesterday started working on a project of the same name. I had written a small ORM for my own firestore usage that I planned on open sourcing.

I just looked at this and the fact that it doesn't support transactions is a major dealbreaker. So you do an update on two entities and one fails because of some random network error, now your database is left in an inconsistent state. Not good. Any ORM should, from the start, be written around transactions.

The other issue here is how the tests are written. I appreciate tests, but in this case, they are written agains the client sdk, not the admin sdk. I discovered a huge inconsistency between the two API's that I just filed an issue for... which this project doesn't hit, because it doesn't use transactions...

https://github.com/firebase/firebase-js-sdk/issues/2112

There are no comments on this comment yet.