riganti/infrastructure

Services registration

Closed this issue · 0 comments

Services should only be registered in the presentation layer. It is not a responsibility of any other layer to say how will others consume its services. The final only authority is, in this case, the presentation layer (only this one can tell whether any instance will be a singleton or per-request or per-call instance).