You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
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 thepg-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 wayKysely
does?Upvote & Fund
The text was updated successfully, but these errors were encountered: