Catalysm
Catalysm
Explore posts from servers
KKysely
Created by Catalysm on 7/18/2023 in #help
Kysely not calling 'init' for Driver (?)
Okay my bad, this was a really dumb mistake... I was destroying the Kysely instance after the migrations
14 replies
KKysely
Created by Catalysm on 7/18/2023 in #help
Kysely not calling 'init' for Driver (?)
(sorry for spam :p) I tried making a async function getDb() function that returns a cached Kysely instance, but that had the same result as before :(
14 replies
KKysely
Created by Catalysm on 7/18/2023 in #help
Kysely not calling 'init' for Driver (?)
Could it be some weird Typescript scoping issue? The parts where it doesn't work (health and the api calls) are coming from another package in the monorepo
14 replies
KKysely
Created by Catalysm on 7/18/2023 in #help
Kysely not calling 'init' for Driver (?)
14 replies
KKysely
Created by Catalysm on 7/18/2023 in #help
Kysely not calling 'init' for Driver (?)
14 replies
KKysely
Created by Catalysm on 7/18/2023 in #help
Kysely not calling 'init' for Driver (?)
I'm happy to try and debug more though, if you could give me some pointers to look at?
14 replies
KKysely
Created by Catalysm on 7/18/2023 in #help
Kysely not calling 'init' for Driver (?)
I can try but it's very likely not easily reproducible, this is in a monorepo running in containers.. lots of moving parts :(
14 replies