diff --git a/slick-additions-entity/src/main/scala/slick/additions/entity/Entity.scala b/slick-additions-entity/src/main/scala/slick/additions/entity/Entity.scala index 7fc8435..646df90 100644 --- a/slick-additions-entity/src/main/scala/slick/additions/entity/Entity.scala +++ b/slick-additions-entity/src/main/scala/slick/additions/entity/Entity.scala @@ -33,6 +33,7 @@ case class EntityKey[K, +A](override val key: K) extends Lookup[K, A] { override def updated[B](value: B) = ModifiedEntity(key, value) override def widen[B >: A]: EntityKey[K, B] = transform(identity) override def toEntityKey = this + def asKeyOf[B] = copy[K, B]() } sealed trait Entity[K, +A] extends EntityRef[K, A] {