Foo = Venue, Bar = VenueAlias, Baz = Checkin
lazy val checkins = Checkin.findAll(In.fk(Checkin.aliasid, By
(VenueAlias.venueid,
this.id)))
confusing error message on compile:
found : com.harryh.model.Checkin.aliasid.type (with underlying type
object com.harryh.model.Checkin.aliasid)
required: net.liftweb.mapper.MappedForeignKey
[?,?,com.harryh.model.Checkin]
Note that implicit conversions are not applicable because they are
ambiguous:
both method mapToType in object MappedField of type [T,A <:
net.liftweb.mapper.Mapper[A]](net.liftweb.mapper.MappedField[T,A])T
and method mapToType in object MappedField of type [T,A <:
net.liftweb.mapper.Mapper[A]](net.liftweb.mapper.MappedField[T,A])T
are possible conversion functions from
com.harryh.model.Checkin.aliasid.type to
net.liftweb.mapper.MappedForeignKey[?,?,com.harryh.model.Checkin]
lazy val checkins = Checkin.findAll(In.fk(Checkin.aliasid, By
(VenueAlias.venueid,
this.id)))
On Aug 13, 4:20 pm, David Pollak <
feeder.of.the.be...@gmail.com>
wrote:
> Beginning Scalahttp://
www.apress.com/book/view/1430219890