Type errors with `@effect/sql-drizzle`
https://github.com/kylekz/effect-drizzle-repro
i'm experimenting with discord bot stuff based on
when defining the schema passed into
and when exporting the layer:
doing
at the moment i'm just assuming this is a bun/monorepo issue with types, as it works at runtime
i'm experimenting with discord bot stuff based on
effect-ts/discord-bot and having some type issues using @effect/sql-drizzlepackages/db/src/index.ts has two errors:when defining the schema passed into
Pg.layerWithConfig:and when exporting the layer:
doing
Pg.layer instead of Pg.layerWithConfig() resolves that type error, but i'd like to be able to use drizzle's rqb which requires passing the schema in.at the moment i'm just assuming this is a bun/monorepo issue with types, as it works at runtime
