Skip to content

Services are created with instantiation service #5653

@bpasero

Description

@bpasero

With 951ed93 I see that services like the side bar part are created using the instantiation service. I think that is very risky because the instantiation service does not include all services at the point where you use it.

I explicitly decided to not use the instantiation service to create other services but explicitly call out to the services I depend on so that we do not end up in weird NPEs because some services are not ready.

I preferred the previous explicit way of services declaring their dependencies in the constructor. What is the benefit from moving away from that?

Metadata

Metadata

Assignees

Labels

debtCode quality issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions