Issues with `@effect/sql-pg` in `bun` but not in node
Hello and good Friday for all.
I'm having some issues using
Also I tried with
I create an example to reproduce this . Is just a simple select query.
I'm running the code with
Using sqlite the result and result length are correctly printed on the console
But using
I add a video reproducing this. Maybe I'm missing something ?
Let me know your thoughts pls ?
Thanks
I'm having some issues using
@effect/sql-pg with bun (on node this is not happening) Also I tried with
@effect/sql-sqlite-bun and working as expected with that package. I create an example to reproduce this . Is just a simple select query.
I'm running the code with
bun run --watch $fileUsing sqlite the result and result length are correctly printed on the console
But using
sql-pg, the code halts on the Effect.provide(Layer) line. This can be confirmed with the fact that if I log before that line I see the results, but any logs after won't show up. Also if I run that on bun repl It shows the promise pending. I add a video reproducing this. Maybe I'm missing something ?
Let me know your thoughts pls ?
Thanks
