Closed seanf closed 1 week ago
This would be nice as a part of the library.
My hack for this currently is:
kysely-codegen --out-file src/db/types.d.ts && printf \"// This is an auto-generated file. Do not edit it directly.\n// See 'Generating DB schema types for Kysely' in README.\n\n$(cat src/db/types.d.ts)\" > src/db/types.d.ts
Should be released in kysely-codegen@0.16.0! 🚀
It would be good if kysely-codegen could add a marker comment at the top of the file when generating code. For instance:
Upvote & Fund