Skip to content
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

Merged
merged 1 commit into from
Feb 16, 2021
Merged

Support estatico newtypes #209

merged 1 commit into from
Feb 16, 2021

Conversation

Odomontois
Copy link
Member

@Odomontois Odomontois commented Feb 16, 2021

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

@Odomontois Odomontois changed the title Support esstatic newtypes Support estatico newtypes Feb 16, 2021
@Odomontois Odomontois force-pushed the newtypes branch 2 times, most recently from e8e5a36 to 61b5908 Compare February 16, 2021 16:21

val common = List(
scalaVersion := "2.13.4",
crossScalaVersions := List("2.12.12", "2.13.4"),
crossScalaVersions := List("2.12.13", "2.13.4"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here, please

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")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw, not needed

build.sbt Show resolved Hide resolved
@@ -0,0 +1,10 @@
package derevo

//* utilitary holder for the newtype instance derivation */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//* utilitary holder for the newtype instance derivation */
/* Utilitary holder for the newtype instance derivation */

@Odomontois Odomontois merged commit 72aaeb5 into master Feb 16, 2021
@Odomontois Odomontois added the enhancement New feature or request label Feb 16, 2021
@gvolpe
Copy link
Contributor

gvolpe commented Feb 16, 2021

That was quick! 🚀

@gvolpe
Copy link
Contributor

gvolpe commented Feb 16, 2021

@Odomontois is there a SNAPSHOT I can try? I checked the CI actions, it seems there's no job publishing them automatically, no?

@Odomontois
Copy link
Member Author

No, we haven't configured any snapshot/early yet

@gvolpe
Copy link
Contributor

gvolpe commented Feb 16, 2021

Ah no problems, no rush. Ping me when there's a new release / snapshot so I can keep up with my promise 😄

@Odomontois Odomontois deleted the newtypes branch February 17, 2021 06:37
@Odomontois
Copy link
Member Author

@gvolpe we have released to sonatype https://oss.sonatype.org/content/groups/public/tf/tofu/
Waiting while the sync will be enabled with maven

@gvolpe
Copy link
Contributor

gvolpe commented Feb 17, 2021

Awesome, thanks for letting me know! 👍

@gvolpe
Copy link
Contributor

gvolpe commented Feb 17, 2021

Bumped into this issue 😿 #220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for the Newtype library
4 participants