Circular dependency tree, justified or not
问题 I've came up with some solution on which my IoC/DI container ( Castle Windsor ) is claiming that there's a cyclic dependency tree. And it's true. But I'm not that sure that this cycle is that harmful. This is, more or less, the dependency tree: A WebAPI controller depends on... ...a service A depends on... ...an unit of work depends on... ...a repository depends on... ...a domain event manager (1) depends on many... ...domain event handlers, and one depends on... ... service A (2) (1) A