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)
looks okay to me
