SimonG96 / LightweightIocContainer

A lightweight IOC Container that is powerful enough to do all the things you need it to do.
MIT License
4 stars 2 forks source link

Circular dependencies lead to stack overflow #28

Closed SimonG96 closed 5 years ago

SimonG96 commented 5 years ago

Add a check in ResolveInternal<>() to find circular dependencies and throw an exception.