sebastien.rouif
11/27/2019, 3:43 PMReusable
the same way Dagger has ? I can’t find it, would anyone be interested ? many times I don’t really need singletons but I don’t need to create a new instance eitherzpearce
11/27/2019, 4:16 PMfactory
instead of single
zpearce
11/27/2019, 4:17 PMarnaud.giuliani
11/28/2019, 9:30 AMarnaud.giuliani
11/28/2019, 9:31 AMsebastien.rouif
11/28/2019, 11:42 AMsingleton
is the same as a scope
at the application levelsebastien.rouif
11/28/2019, 11:45 AMfactory
or single
as we don’t really care if the object is shared. We then tend to go for single as it avoids creating another object. However marking it single
seems wrong as we don’t need it to be single.arnaud.giuliani
11/28/2019, 2:32 PMusecase
classes in my apps, with factory
sebastien.rouif
11/28/2019, 3:11 PMarnaud.giuliani
11/28/2019, 3:26 PMarnaud.giuliani
11/28/2019, 3:26 PMsingle
like my repositoriesarnaud.giuliani
11/28/2019, 3:26 PMarnaud.giuliani
11/28/2019, 3:26 PM