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
When I generate types using kysely-codegen --camel-case --runtime-enums --dialect=postgres --out-file=generated/db-types.ts:
The output is:
// It generates thisexportenumRiskEvaluationStatus{CANUSE='CAN_USE',OK='OK',SHOULDNOTBEUSED='SHOULD_NOT_BE_USED',}// It should actually generateexportenumRiskEvaluationStatus{CAN_USE='CAN_USE',OK='OK',SHOULD_NOT_BE_USED='SHOULD_NOT_BE_USED',}
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:
Hello, in regard to the implementation of runtime enums in #115 , I believe there is a bug with the generated keys.
So, given this SQL
When I generate types using
kysely-codegen --camel-case --runtime-enums --dialect=postgres --out-file=generated/db-types.ts
:The output is:
Upvote & Fund
The text was updated successfully, but these errors were encountered: