data-class
data-class copied to clipboard
case-classes with better binary compatibility story
I really like what this library offers, but I'm wondering if it's going to be possible to implement any of the behaviors at all for scala 3, given the restrictions...
Like [simulacrum](https://github.com/typelevel/simulacrum), data-class relies on macro annotations, that are going away in dotty / scala 3. simulacrum was [rewritten as a set of scalafix rules](https://github.com/typelevel/simulacrum-scalafix) for dotty. We should probably...
So I'm not sure how possible this is but I'd love to use since-like functionality at versioning case class fields when the _type_ changes. My gut tells me this is...
```scala @data class Foo(bar: String, baz: Int) { def withBar(bar: String): Foo = new Foo(bar) } ``` does not work, maybe this should? I would expect `withBaz` to be generated,...
It would be safe to still generate the `unapply` and `copy` methods, but with a `private` modifier. They could be used / helpful from the class body, but wouldn't belong...
Updates [com.github.sbt:sbt-ci-release](https://github.com/sbt/sbt-ci-release) from 1.5.10 to 1.5.11. [GitHub Release Notes](https://github.com/sbt/sbt-ci-release/releases/tag/v1.5.11) - [Version Diff](https://github.com/sbt/sbt-ci-release/compare/v1.5.10...v1.5.11) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...
## About this PR 📦 Updates [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from `3.6.1` to `3.8.1` 📜 [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.8.1) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.6.1...v3.8.1) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...
## About this PR 📦 Updates * [org.scala-lang:scala-library](https://github.com/scala/scala) * [org.scala-lang:scala-reflect](https://github.com/scala/scala) from `2.13.10` to `2.13.13` 📜 [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.13.13) - [Version Diff](https://github.com/scala/scala/compare/v2.13.10...v2.13.13) ## Usage ✅ **Please merge!** I'll automatically update this...
## About this PR 📦 Updates * [org.scala-lang:scala-library](https://github.com/scala/scala) * [org.scala-lang:scala-reflect](https://github.com/scala/scala) from `2.12.17` to `2.12.19` 📜 [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.12.19) - [Version Diff](https://github.com/scala/scala/compare/v2.12.17...v2.12.19) ## Usage ✅ **Please merge!** I'll automatically update this...
## About this PR 📦 Updates [org.scala-sbt:sbt](https://github.com/sbt/sbt) from `1.7.3` to `1.9.9` 📜 [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.9.9) - [Version Diff](https://github.com/sbt/sbt/compare/v1.7.3...v1.9.9) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...