Re:What ORMs have taught me: just learn SQL (2014)
by nikolasburk on Saturday September 21, 2019 @04:28AM
(#21034160)
I really like your point about type-safety! I think one major issue with the current ORMs in the Node.js/TypeScript ecosystem (Sequelize, TypeORM, ...) is that they're not fully type-safe. As you mention, TypeORM is definitely a step into the right direction here, but the way how it leverages the TypeScript type system isn't where it could be. I work at Prisma where we're building [Photon.js][1], an auto-generated database client with a fully type-safe data access API.
[1][https://github.com/prisma/photonjs]