3 ms·
This. ORMs by and large suck.
by cryptonector 2y ago
This. ORMs by and large suck.
- Cthulhu_ 2y agoI've had to experience it firsthand again a while ago but yeah. I was replacing an application management interface of sorts, large ish sets of configuration parameters, ideal for a relational database. But I wanted to treat the combined configuration as a document, since that's what the front-end would send over. Ended up using GORM, which was fine for a little while... but quickly falls apart, especially when your data model is nested more than one level deep. And then you end up having to figure out "how do I solve X in GORM" and find yourself with limited documentation and a relatively small community whose members quickly burn out of trying to help people. I'll just write the code next time.