Skip to content

ducktape 0.2.5

Compare
Choose a tag to compare
@arainko arainko released this 31 Aug 06:21
· 60 commits to series/0.2.x since this release
ec336e5

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

Full Changelog: v0.2.4...v0.2.5