-
Notifications
You must be signed in to change notification settings - Fork 40
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
Support estatico newtypes #209
Conversation
e8e5a36
to
61b5908
Compare
|
||
val common = List( | ||
scalaVersion := "2.13.4", | ||
crossScalaVersions := List("2.12.12", "2.13.4"), | ||
crossScalaVersions := List("2.12.13", "2.13.4"), |
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.
and here, please
derevo/.github/workflows/scala.yml
Line 45 in 3dfca42
scala: [2.12.12, 2.13.4] |
build.sbt
Outdated
), | ||
libraryDependencies += "io.estatico" %% "newtype" % "0.4.4" % Test, | ||
libraryDependencies += "org.scalameta" %% "munit" % Version.munit % "test", | ||
libraryDependencies += "org.scalatest" %% "scalatest" % Version.scalaTest % "test", | ||
scalacOptions ++= { | ||
CrossVersion.partialVersion(scalaVersion.value) match { | ||
case Some((2, y)) if y == 11 => Seq("-Xexperimental") |
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.
btw, not needed
@@ -0,0 +1,10 @@ | |||
package derevo | |||
|
|||
//* utilitary holder for the newtype instance derivation */ |
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.
//* utilitary holder for the newtype instance derivation */ | |
/* Utilitary holder for the newtype instance derivation */ |
That was quick! 🚀 |
@Odomontois is there a SNAPSHOT I can try? I checked the CI actions, it seems there's no job publishing them automatically, no? |
No, we haven't configured any snapshot/early yet |
Ah no problems, no rush. Ping me when there's a new release / snapshot so I can keep up with my promise 😄 |
@gvolpe we have released to sonatype https://oss.sonatype.org/content/groups/public/tf/tofu/ |
Awesome, thanks for letting me know! 👍 |
Bumped into this issue 😿 #220 |
fixes #56
Note that derevo-core dependency does not brings the estatico dependency.
Moreover, the mechanism could be easily extended for the "marks" of the other "newtype" libraries