mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
fix "multiple ! arguments are not allowed" on ...
...constructor argument injection
This commit is contained in:
parent
88234ab1b3
commit
00dd758e01
|
@ -167,7 +167,7 @@ class ConstructorInjectingInstanceFactory(InstanceType) : InstanceFactory
|
|||
argumentList ~= ",";
|
||||
}
|
||||
|
||||
argumentList ~= "container.resolve!" ~ param.stringof;
|
||||
argumentList ~= "container.resolve!(" ~ param.stringof ~ ")";
|
||||
}
|
||||
return argumentList;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue