title: How to get around the Scala case class limit of 22 fields?
body: <p>Scala case classes have a limit of 22 fields in the constructor. I want to exceed this limit, is there a way to do it with inheritance or composition that works with case classes?</p>