mirror of
https://github.com/Effect-TS/effect.git
synced 2026-11-25 02:06:20 +08:00
Update migration guidance for SQL driver clients no longer extending SqlClient (#10403)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
"@effect/sql-libsql/LibsqlClient#LibsqlClient":
|
||||
replacement: "@effect/sql-libsql/LibsqlClient#LibsqlClient"
|
||||
note: "Retained; the service value is now a Context.Service. The LibsqlClient interface no longer extends SqlClient.SqlClient. Yielding the service still gives LibsqlClient & SqlClient, but an effect that requires LibsqlClient no longer type-checks against a SqlClient requirement annotation, and a SqlClient-only layer no longer satisfies LibsqlClient. Annotate a layer chosen between drivers as Layer.Layer<SqlClient.SqlClient, E>."
|
||||
Reference in New Issue
Block a user