Question

Good news, Scala 2.11.0 version has been released. They finally fixed arity limit <22 for case classes http://www.scala-lang.org/news/2014/04/21/release-notes-2.11.0.html

My question is related to slick orm. Do we still have to use HList to overcome arity limits?

Was it helpful?

Solution

At this point there is no production ready Slick version for Scala 2.11.0. Only milestone Slick version 2.1.0-M1 compiles on new Scala.

Slick Table class requires tupled & unapply methods to compile. Those methods does not exists in case classes with arity > 22

So as of April 22 2014 we still have to use HList to overcome arity limits

Thanks to @Régis Jean-Gilles who helped me to unconfuse myself

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top