Kysely
documents how to configure runtime types returned by the PostgreSQL driver:
https://kysely.dev/docs/recipes/data-types
Unfortunately, it is not possible to apply this recipe when invoking kysely-codegen
as it is invoked as a self-contained utility and I see no way to invoke it programmatically and use the pg-types
package to configure the types it generates. So, for instance, BIGSERIAL data types in PostgreSQL are generated as strings in TypeScript. Is there a way to configure the PostgreSQL driver the way Kysely
does?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too