Been trying to get this going for a little bit. From my experience I think it would be beneficial to add some information to the readme.
Add example using --out-file
npx kysely-codegen --out-file ./src/db/db.d.ts
Show how to use this compared to the getting started documentation on kysely
In the [https://kysely.dev/docs/getting-started](startup documentation) you can write your own schema and you create Person, NewPerson, PersonUpdate. these are used later in the app.
Showing an example that now you use the generated person using the helper types: Selectable, Insertable or Updatable. Otherwise you get an error yelling about ColumnType missmatch.
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.
Been trying to get this going for a little bit. From my experience I think it would be beneficial to add some information to the readme.
Add example using --out-file
npx kysely-codegen --out-file ./src/db/db.d.ts
Show how to use this compared to the getting started documentation on kysely In the [https://kysely.dev/docs/getting-started](startup documentation) you can write your own schema and you create Person, NewPerson, PersonUpdate. these are used later in the app. Showing an example that now you use the generated person using the helper types: Selectable, Insertable or Updatable. Otherwise you get an error yelling about ColumnType missmatch.
Upvote & Fund