macwire icon indicating copy to clipboard operation
macwire copied to clipboard

Documentation - lazy factory?

Open backuitist opened this issue 10 years ago • 0 comments

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]

backuitist avatar Sep 06 '15 08:09 backuitist