News for hackers. Stuff that matters.
Re:I Hate NestJS by Timon3 on Tuesday October 24, 2023 @02:18PM (#38003081)
Regarding TypeORM - recommending Prisma feels a bit like throwing out the baby with the bath water. If I'm reading their Github issues correctly, they are slowly starting to use JOIN statements in their generated SQL. It may be fine for an ORM to perform local joins during alpha, but anything after that really should use the features DBs provide for these kinds of basic things.

I've heard good things about Drizzle.

Re:I Hate NestJS by dsego on Tuesday October 24, 2023 @03:53PM (#38004472)
Drizzle seems a bit low level. Reading the docs I see a thin DSL for schema definitions and a query builder, which seems to return plain objects.
Re:I Hate NestJS by dsego on Thursday October 26, 2023 @05:26PM (#38031901)
Just looked at it again some more and it infers data types when returning data.
Re:I Hate NestJS by bro_rabbit on Tuesday October 24, 2023 @04:49PM (#38005339)
https://mikro-orm.io/ is pretty nice.
Re:I Hate NestJS by frodowtf on Wednesday October 25, 2023 @01:49AM (#38009555)
Kysely looks like the thing most people would want. It's not a full ORM though - just a well-typed query builder.

https://kysely.dev/