slick - In scala, how to avoid class method hiding by companion object -
when defining slick table projections this:
def * = (id.?, email, human, languser, langlearn) <> (user2.tupled, user2.unapply)
i observe tupled
method becomes invisible define object user2
.
my question going on , how avoid method hiding companion objects.
duplicate of: using .tupled method when companion object in class
tupled on custom case class companions requires manually extending function type see: https://issues.scala-lang.org/browse/si-3664 https://issues.scala-lang.org/browse/si-4808
Comments
Post a Comment