Seeking Guidance on Implementing Database Transactions with Hono and Effect
@Lucas Barake Hi Lucas, sorry to ping you directly again
but I've been battling with this for quite some time now
I've watched your video Drizzle With Effect: Supporting Transactions and I'm trying to implement this in my code base.
I'm not using
I've checked the monorepo you provided in the video and but couldn't find how you'd then use
In my codebase, I'm providing dependencies like so:
I have created
Then in my route I have this:
I don't even know if this is a good pattern
but it works
I've watched your video Drizzle With Effect: Supporting Transactions and I'm trying to implement this in my code base.
I'm not using
@effect/platform, I'm using hono.I've checked the monorepo you provided in the video and but couldn't find how you'd then use
Database.In my codebase, I'm providing dependencies like so:
I have created
endpoint.runtime.tsThen in my route I have this:
I don't even know if this is a good pattern
