On Mon, Nov 2, 2009 at 8:14 AM, Vesa <brut...@gmail.com> wrote: > > It seems like boilerplate that every mapped class needs to define a > getSingleton method returning companion object. Can't there be any > default with this and is there any way to get rid of the manually > defined companion object if user isn't going to define any new methods > on it, while still having the default meta functionality? >
I know of no mechanism in Scala to discover companion objects. If you find one (that's not simply Java Reflection), please let me know. > > - Vesa > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---