-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wip: Scala3 migration #728
Conversation
build.sbt
Outdated
) | ||
case Some((3, _)) => | ||
Seq( | ||
"com.typesafe.slick" %% "slick" % "3.4.0-SNAPSHOT", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is using a locally published version of Slick with the Scala3 Pull Request. You can find it here: slick/slick#2187
@@ -158,7 +158,7 @@ trait HasDatabaseConfig[P <: BasicProfile] { | |||
@deprecated("Use `profile` instead of `driver`", "2.1") | |||
protected final lazy val driver: P = dbConfig.profile // field is lazy to avoid early initializer problems. | |||
/** The Slick database extracted from `dbConfig`. */ | |||
protected final def db: P#Backend#Database = dbConfig.db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understood that this is Path Dependent Types but I didn't find a way to make it work. Any insight here would be much appreciated!
Running
|
- Compiling on Scala3 & Scala2.13 - Avoid code duplication and improve readability by moving library imports into `Dependencies.scala`. - Make Scala 2.13 default scala version. - Add scala3 to github action workflow
Slick 3.5.0-M4 is out for Scala 3 (and 2.12 and 2.13) |
Superseded by #751 |
Cross compiling to 2.13 & 3.
Fixed some issues regarding syntax and library not supported in Scala3.