Sometimes a service needs to know what its name is, and what container it came from. If we know our name, we can tell the user exactly where the problem is. If we have a container, we can pull other services out of the container (like a default logger service, or a default other service).
There is more potential for a circular reference here, too. We really ought to do something about that...
Sometimes a service needs to know what its name is, and what container it came from. If we know our name, we can tell the user exactly where the problem is. If we have a container, we can pull other services out of the container (like a default logger service, or a default other service).
There is more potential for a circular reference here, too. We really ought to do something about that...