4 ms·
It's fun watching other languages orms be 10 years behind in design. Your example is a common anti pattern from PHP orms 15 years ago.
by hparadiz 5mo ago
It's fun watching other languages orms be 10 years behind in design.
Your example is a common anti pattern from PHP orms 15 years ago.
- worthless-trash 5mo agoCould be wrong, but i dont think thats an orm.
- out_of_protocol 5mo ago1) that's not an ORM 2) after ~8 years of using it, i find it ergonomic, light on congitive load and good for long term support
- hparadiz 5mo agoCalling it not an ORM just cause it implements a DTO is splitting hairs. It's an ORM. If you are hydrating an object that saves to storage and you are manipulating it's life cycle and then casting types between your storage primitives and your language primitives from memory to disk you are writing code that every other ORM is writing and it's not special. As soon as you add use Ecto.Schema to your model it's an ORM. > But it doesn't require a database and queries have to be explicit! yea yea that's a feature of every ORM