The container presumes it will be injected into a component's constructor, thus forcing the component to be an "injectable class", and reducing the reusability of the component. This isn't a particularly good practice. Investigate a new way to wire up dependencies that decouples the container from the dependencies it manages.
The container presumes it will be injected into a component's constructor, thus forcing the component to be an "injectable class", and reducing the reusability of the component. This isn't a particularly good practice. Investigate a new way to wire up dependencies that decouples the container from the dependencies it manages.