This is one of 4 reasons why I'm building pg-nano [1] and honestly the main catalyst. The other 3 reasons are: I still want to call my Postgres functions from TypeScript in a safe manner; I want declarative schemas with generated migrations; and I want the ability to write compile-time plugins that can generate SQL or TypeScript through introspection.
It's not released yet, but give it a look :) (v0.1 is almost done)
It's not released yet, but give it a look :) (v0.1 is almost done)
[1]: https://github.com/pg-nano/pg-nano