Bill Atkins
unread,Jun 2, 2012, 12:11:41 PM6/2/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ScalaQuery
I'm running ScalaQuery 0.10.0-M1. If I neglect to import my driver's
implicits in my application, I get cryptic compile errors about all of
my queries:
value filter is not a member of Foo with models.db.BaseModel[_, _]
[error] val q = this.filter(_.id is rowid).map(_.isActive)
Importing the implicits fixes this. Can I propose that we annotate the
needed implicit object class with an @implicitNotFound to make this
easier to debug, e.g.:
@implicitNotFound(msg = "Cannot find implicits for your ScalaQuery
driver; try import org.scalaquery.ql.extended.DRIVER_NAME.Implicit._")
In my source tree, I think this would go on the
BasicImplicitConversions trait. Please disregard if this is already
done in master.