kristiandupont/kanel

generateIndex doesn't work with kanel-kysley?

taybin opened this issue · 2 comments

taybin commented

The index refers to things like FooInitializer from the kanel-kysley generated file, but that doesn't seem to exist. It also doesn't export the Selectable, Insertable, and Updatable types.

Is there a way to make it work or do I need to provide my own generateIndex hook?

Are you running the index hook as the last hook in the array?

taybin commented

@kristiandupont, no that resolved the issue. Thank you.