Review Board 1.5.4

Issue 472 -- Make Factory/FactoryMaker slightly more API friendly

Updated 1 year, 9 months ago

David Pollak Reviewers
dpp, marius, charles, heiko, joni, atsuhiko, jorge, naftoli, kris, indrajit, alexb, dlouwers, mstarzyk, rmellgren, jhoffman, probinett, jmadsen, mhartmann, jstrachan, jgoday
None LiftWeb-archive
https://www.assembla.com/spaces/liftweb/tickets/472-make-factorymaker-take-a-vendor-rather-than-a-%28%29----t

dpp_issue_472

Changed the parameter to Factory#FactoryMaker from () => T to Vendor[T].  This means you can call FactoryMaker.default(foo) rather than FactoryMaker.default(() => foo)

 
Ship it!
Posted 1 year, 9 months ago (April 13th, 2010, 5:54 p.m.)
looks okay to me
Ship it!
Posted 1 year, 9 months ago (April 13th, 2010, 10:36 p.m.)
Very good!