I am not sure which use cases should be used in the application. I know that injection services, such as PlaceServiceor CalculationServiceetc., are very well suited, but I must also create my domain objects using DI how User? What is it if it Userhas only one constructor, which requires the first and last name. Is this allowed with DI?
Should I use DI to create instances for Set / List interfaces or is this pure overflow?
I use mainly.
source
share