Support for Scala 3?
Opened this issue · 0 comments
stefanholzmueller commented
I am wondering if it is possible to publish a Scala 3 version of this library. I gave it a look today and found two obstacles:
- Slick still does not support Scala 3 and I would not bet money that it ever will. I could work around that with
.cross(CrossVersion.for3Use2_13)
but I am not sure if it is a good idea for a Scala 3 library to depend on a Scala 2.13 library. - I guess the Scala 3 type checker is stricter, because I got a Type Mismatch Error in
DatabaseProvider.scala
:
[error] 21 | val db: UIO[JdbcBackend#Database] = ZIO.effectTotal(d)
[error] | ^
[error] | Found: (d : p.backend.DatabaseDef)
[error] | Required: slick.jdbc.JdbcBackend#Database
Is there hope, or am I flogging a dead horse?