val venues = Venue.findAll(ByList(Venue.id, List(1, 2, 3)))

results in the following compile error:

 found   : com.foursquare.model.Venue.id.type (with underlying type
object com.foursquare.model.Venue.id)
 required: net.liftweb.mapper.MappedField
[AnyVal,com.foursquare.model.Venue.MapperType]
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.foursquare.model.Venue.id.type to net.liftweb.mapper.MappedField
[AnyVal,com.foursquare.model.Venue.MapperType]
  val venues = Venue.findAll(ByList(Venue.id, List(1, 2, 3)))

-harryh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to