Update migration guidance for SQL driver clients no longer extending SqlClient (#10403)

This commit is contained in:
Tim
2026-11-05 20:08:56 +00:00
committed by GitHub
parent cb679e39ca
commit ee10dc9d05
17 changed files with 73 additions and 15 deletions
@@ -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>."