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
Hello, thank you for this utility, it makes dealing with kysely migrations much more convenient.
I tried the codegen function, and while it worked quite good, the generated names get underscore replaced by spaces, which is incorrect.
To give you an example user_session generates a type named User Session which is obviously not valid typescript.
Link to Minimal Reproducible Example
I don't think is needed, sorry
Steps To Reproduce
Just use any underscore in any table name then try to run a codegen command
Package Version
kysely-migrate 0.0.16
TypeScript Version
5.3.3
Anything else?
No response
Validations
Checked there isn't already an issue that exists for the bug you encountered.
Added a minimal reproduction.
The text was updated successfully, but these errors were encountered:
danielo515
added a commit
to danielo515/kysely-migrate
that referenced
this issue
Mar 3, 2024
Describe the bug
Hello, thank you for this utility, it makes dealing with kysely migrations much more convenient.
I tried the codegen function, and while it worked quite good, the generated names get underscore replaced by spaces, which is incorrect.
To give you an example
user_session
generates a type namedUser Session
which is obviously not valid typescript.Link to Minimal Reproducible Example
I don't think is needed, sorry
Steps To Reproduce
Just use any underscore in any table name then try to run a codegen command
Package Version
kysely-migrate 0.0.16
TypeScript Version
5.3.3
Anything else?
No response
Validations
The text was updated successfully, but these errors were encountered: