ducktape 0.2.5
This release removes a limitation of transformation configs that disallowed using them like lenses for updates, eg. the following:
case class Person(age: Int, name: String)
Person(1, "Joe").into[Person].transform(Field.const(_.age, 23))
would previously fail to compile because the transformation underneath was an identity transformation (i.e. not a configurable product-to-product transformation) - this has now been lifted and code like the above now works as you'd expect.
What's Changed
- Update scalafmt-core to 3.8.3 by @scala-steward in #192
- update scalafmt and scalafix, run both by @arainko in #185
- [Issue 179] lens like configs by @arainko in #193
- Update munit to 1.0.1 by @scala-steward in #194
- [Issue-195] Improve error message in case a
Factory
instance is missing when transforming between collections by @arainko in #198 - Update auxlib, clib, javalib, nativelib, ... to 0.5.5 by @scala-steward in #196
Full Changelog: v0.2.4...v0.2.5