Comment by codr7
16 hours ago
At the peak of my hyper typing trip, doing lots of Haskell and C++, I was trying to encode all the column/table/query types of my database in the host language.
Nothing I would recommend, perfect doesn't mean its a good idea.
Kysley does a good job of this. I haven't found it annoying.
Well... I think MySQL is a 2nd class citizen so I had to write my own schema gen but that only burned a few hours. Now it's great
On the other hand: https://kysely.dev/docs/recipes/excessively-deep-types