Showing
1 changed file
with
2 additions
and
2 deletions
@@ -164,7 +164,7 @@ class GetInstance { | @@ -164,7 +164,7 @@ class GetInstance { | ||
164 | throw "class ${S.toString()} with tag '$tag' is not register"; | 164 | throw "class ${S.toString()} with tag '$tag' is not register"; |
165 | } | 165 | } |
166 | } | 166 | } |
167 | - initDependencies<S>(); | 167 | + initDependencies<S>(name: tag); |
168 | 168 | ||
169 | return GetConfig._singl[key].getSependency() as S; | 169 | return GetConfig._singl[key].getSependency() as S; |
170 | } else { | 170 | } else { |
@@ -175,7 +175,7 @@ class GetInstance { | @@ -175,7 +175,7 @@ class GetInstance { | ||
175 | print('[GETX] $S instance was created at that time'); | 175 | print('[GETX] $S instance was created at that time'); |
176 | S _value = put<S>(GetConfig._factory[key].builder() as S); | 176 | S _value = put<S>(GetConfig._factory[key].builder() as S); |
177 | 177 | ||
178 | - initDependencies<S>(); | 178 | + initDependencies<S>(name: tag); |
179 | 179 | ||
180 | if (GetConfig.smartManagement != SmartManagement.keepFactory && | 180 | if (GetConfig.smartManagement != SmartManagement.keepFactory && |
181 | !GetConfig._factory[key].fenix) { | 181 | !GetConfig._factory[key].fenix) { |
-
Please register or login to post a comment