Breaking Change Notice: `@effect/sql` Client Context Tag Moved
Hello @1110198784417345608 !
If you are using @effect/sql, a breaking change will be released soon that moves the main sql client Context.Tag to the core package.
Here is the PR: https://github.com/Effect-TS/effect/pull/2693
From the changeset:
---
All of the client implementations now share the same Context.Tag. This means you can create
services that support multiple SQL flavors.
You can now use the
If you need a functionality that is specific to a implementation, you can use the tag from the
implementation package:
If you need to run a different query depending on the dialect, you can use the
If you are using @effect/sql, a breaking change will be released soon that moves the main sql client Context.Tag to the core package.
Here is the PR: https://github.com/Effect-TS/effect/pull/2693
From the changeset:
---
All of the client implementations now share the same Context.Tag. This means you can create
services that support multiple SQL flavors.
You can now use the
@effect/sql package to access the client apis:If you need a functionality that is specific to a implementation, you can use the tag from the
implementation package:
If you need to run a different query depending on the dialect, you can use the
sql.onDialect api: