For a more database specific, type-safe, data querying solution, I like to use https://kysely.dev
damidekronik•2h ago
I am using both prisma and kysely in the same codebase with a great success. The db schema is driven by SQL, not prisma. It is then introspected by both kysely and prisma, prisma is used in 95% of the places while kysely is used whenever performance is critical or when prisma doesn't support the SQL features we need.
FrustratedMonky•3h ago
Seems a lot like FSharp Type Providers? Is that a good analogy?
mifydev•1h ago
The same should apply to configuration, we have prisma for sql, we should have something like this for JSONs, like https://typeconf.dev (I’m one of the founders)
fire_lake•35m ago
> Users expect near-native responsiveness, even when offline
Do they? I think users are amazed if anything works without internet with modern applications.
hu3•3h ago
For a more database specific, type-safe, data querying solution, I like to use https://kysely.dev
damidekronik•2h ago