Closed avs14093 closed 8 years ago
Hi @avs14093 at the moment InversifyJS throws a stack overflow error if there are circular dependencies but I will look into the possibility of offering something better than that in the future.
Hey Remo,
Just to clarify on this issue - will the feature be too detect cyclic dependencies in a tree and throw a meaningful error when they are found rather than trying to resolve a cyclic dependency?
We are not going to remove cyclic dependencies. It seams to be what other big projects are doing:
As you said we are going to try to throw a meaningful error.
This is now merged into master 81817a30e61fd7ac5511721d15285e27aba7f173
There was an issue in some Node.js versions but it has been fixed by dab6e544914d9142629ed51f199a10e04bc923a8
How does inversify manage cyclic dependencies?
Could not find anything in the documentation yet.