2 ms·
Breaking change on minor version changes. Ouch. Not a MongoDB expert, but you don't really need an 'ORM'[0] do you? I thought it spoke JSON natively like couch
by LAC-Tech 5y ago
Breaking change on minor version changes. Ouch.
Not a MongoDB expert, but you don't really need an 'ORM'[0] do you? I thought it spoke JSON natively like couch.
If I was in this project I might have argued strongly for just doing that. Others might have argued back telling me that we can't possibly send JSON to a thing that expects JSON that's too low level, let's rely on this library by some guy instead.
Sorry, flashbacks. Look libraries that do stuff for us are great. But let's make sure they're worth the cost of admission.
[0] yes I know it's not really an ORM because it's not a relational store but you know what I mean
- hartator 5y agoI think Mongoid is an official MongoDB lib. But yeah, we should have used the raw Ruby MongoDB client at least for this. This way the code would have been more explicit.
- LAC-Tech 5y agoRight didn't mean to have a go at you specifically. It's very common in software to introduce dependencies at the drop of a hat. I really hope we can move away from it.