Voiteh / Depin

Dependency injection library for Ceylon
Apache License 2.0
0 stars 0 forks source link

Circular dependency handling #2

Open Voiteh opened 5 years ago

Voiteh commented 5 years ago

First they need to be found and then an exception should be thrown. There should be dedicated exception for this kind of issue with nice formatting what has gone wrong (possible API Change).

Presentation of Dependencies need to be changed from flat to tree: |Type| dependency - provides: Type - dependency, Type - dependency |Type|SubType: Sub dependency |Type|SubType: Sub dependency |Type|SubType|SubSubType: Sub sub dependency...

This way three can be searched and it can be indicated what will be