From 635ec7f18a62dd210f176e9ff2aaa315b12797ae Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Thu, 24 Jul 2014 23:43:56 +0200 Subject: [PATCH] Update readme section about circular dependencies --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b53061d..100cfa4 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ assert(instance.dependency !is null); If an interface is to be autowired, you must register a concrete class by interface. Any class registered by concrete type can only be injected when a dependency on a concrete type is autowired. ###Circular dependencies -Poodinis can autowire circular dependencies when they are registered with singleInstance or existingInstance registration scopes. See Known issues for the limitations on newInstance scopes. +Poodinis can autowire circular dependencies when they are registered with singleInstance or existingInstance registration scopes. Circular dependencies in registrations with newInstance scopes cannot be autowired, as this would cause an endless loop. Known issues ------------