Re:Show HN: ORM for TypeScript with no query-builder, suppor...
by bakedbeanz on Thursday September 03, 2020 @10:00AM
(#24364113)
Interesting, then what is your alternative? It seems like hand-rolling all of your migrations would be an enormous pain on larger projects.
Re:Show HN: ORM for TypeScript with no query-builder, suppor...
by Seb-C on Thursday September 03, 2020 @10:22AM
(#24364331)
Well, this project is my alternative, and so far I did not see any case where it fails, but I'd be happy to learn.
This migration pattern is quite common in many frameworks, I just removed the query-building abstraction layer.
IMHO, "real production features" means also caring about the long term maintenance, performance and reliability of the data.
My experience with ORMs (especially ActiveRecord patterns) is that it always becomes a mess once you reach a certain level of complexity. It is very fast to get started, but gets slower over time once you start having a lot of bugs and hard-to-solve behaviours.