Skip to content

ducktape 0.2.0-M5

Compare
Choose a tag to compare
@arainko arainko released this 10 Mar 15:24
· 218 commits to series/0.2.x since this release
9560997

ducktape 0.2.0-M5

This release bring a new encoding of accumulating transformations (well, the 'decoding', really) - the final step destructing the zipped Tuple is now represented as a chain of accessors, i.e. this:

 (value: Tuple2[Type, Tuple2[Type, Type]]) => new Person(name = value._1, age = value._2._1, socialSecurityNo = value._2._2)
  ): Either[List[String], Person]): Either[List[String], Person])

instead of a pattern match like this one:

value: Tuple2[Tuple2[Type, Type], Type]) =>
              value match {
                case Tuple2(Tuple2(name, age), socialSecurityNo) =>
                  new ValidatedPerson(name = name, age = age, socialSecurityNo = socialSecurityNo)
                case x =>
                  throw new MatchError(x)
              }
          )

This release is very likely to become an RC if nothing serious comes up in the next week.

What's Changed

Full Changelog: v0.2.0-M4...v0.2.0-M5