Closed arainko closed 3 months ago
Usage examples:
case class Numbers(int1: Int, int2: Int, int3: Int) val toTuple = (???: Numbers).to[(Int, Int, Int)] val fromTuple = (1, 2. 3).to[Numbers]
case class NumbersWithLessFields(int1: Int, int2: Int) (1, 2, 3, 4, 5, 6).to[NumbersWithLessFields] // should equal NumbersWithLessFields(1, 2)
Usage examples: