Effect @effect/sql-sqlite-react-native@4.1.3
This patch fixes a runtime `Service not found` failure when providing a generic `SqlClient` layer that removes a driver service from an effect's requirements. It also changes the type relationship so driver clients are no longer subtypes of `SqlClient.SqlClient`; code selecting between driver layers may need an explicit layer type annotation.
Users providing generic SQL client layers or selecting between driver layers may be affected, particularly if their code relied on the former subtype relationship.
Check conditional or otherwise combined driver-layer expressions and add the documented explicit layer annotation if required.
- 01For code that selects between driver layers (for example, with a conditional expression), add an explicit `Layer.Layer<SqlClient.SqlClient, E>` annotation if needed.
Layer.Layer<SqlClient.SqlClient, E># community_signal
How useful is this release to your stack?
Sign in with GitHub to cast your vote.
You’ll return to this release, then choose your vote.