Support for shapeless HLists/Generics in Slick.
This release (for Scala 2.11, 2.12, 2.13) fixes a regression reported in #42 (thanks to @nivekastoreth)
Thanks to @oker1 and @scala-steward, we've build Slickless against Scala 2.13 and Slick 3.3.2
This release updates slickness to be built against Slick 3.3.0.
Performance improvements via #20
Thanks to @studiodev this release updates slickless for the 3.2.0 final release of Slick, and builds for Scala 2.12 and 2.11. Via https://github.com/underscoreio/slickless/pull/17
Thanks to @DanielaSfregola this release is for Scala 2.12, using Slick 3.2.0-M2. Via PR #13
Addition of the mappedWith
method.
This allows a user to convert an HList
shape mapping to a case class shape mapping using a Generic
:
case class Address(id: Long, house: Int, street: String)
class Addresss(tag: Tag) extends Table[Address](tag, "addresses") {
def id = column[Long]("id", O.PrimaryKey, O.AutoInc)
def house = column[Int]("house")
def street = column[String]("street")
def * = (id :: house :: street :: HNil).mappedWith(Generic[Address])
}
Thanks @davegurnell and PR 10.
This release updates the build to depend on shapeless 2.3.1.
This release updates the build to depend on shapeless 2.3.0 and Slick 3.1.1 (thanks to @travisbrown PR #6)