I'd like to do something like def findAll[T <: LongKeyedMapper[T],M <: LongKeyedMetaMapper[T]] (metaObject: M): List[T] = { metaObject.findAll }
val users:List[User] = findAll(User) val foos:List[Foo] = findAll(Foo) But the compiler won't have it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---