The documentation still says to import DB from kysely-codegen, but you need to import it from kysely-codegen/dist/db with 0.16.4. I think it's a missing export still? I know the index was missing in a previous issue (https://github.com/RobinBlomberg/kysely-codegen/issues/191) but for those of us who still codegen to inside the node_modules boundary it's an undocumented breaking change (and also importing from dist just always sets off aesthetic klaxons for me :)).
Thanks a ton for the package btw, it's been a lifesaver for us!
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 documentation still says to import
DB
fromkysely-codegen
, but you need to import it fromkysely-codegen/dist/db
with 0.16.4. I think it's a missing export still? I know the index was missing in a previous issue (https://github.com/RobinBlomberg/kysely-codegen/issues/191) but for those of us who still codegen to inside the node_modules boundary it's an undocumented breaking change (and also importing fromdist
just always sets off aesthetic klaxons for me :)).Thanks a ton for the package btw, it's been a lifesaver for us!
Upvote & Fund