macwire
macwire copied to clipboard
Documentation - lazy factory?
I've seen this in the README and the DI guide:
lazy val factory = (arg: Arg) => wire[Stuff]
I don't see the point of making this factory lazy? Shouldn't the documentation recommend this instead?
val factory = (arg: Arg) => wire[Stuff]