From 00dd758e0193f426858489ebabdd2af0dcaa8485 Mon Sep 17 00:00:00 2001 From: nucz <45684062+nucz@users.noreply.github.com> Date: Tue, 8 Jun 2021 22:40:52 +0300 Subject: [PATCH] fix "multiple ! arguments are not allowed" on ... ...constructor argument injection --- source/poodinis/factory.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/poodinis/factory.d b/source/poodinis/factory.d index 05085c5..ff816d0 100644 --- a/source/poodinis/factory.d +++ b/source/poodinis/factory.d @@ -167,7 +167,7 @@ class ConstructorInjectingInstanceFactory(InstanceType) : InstanceFactory argumentList ~= ","; } - argumentList ~= "container.resolve!" ~ param.stringof; + argumentList ~= "container.resolve!(" ~ param.stringof ~ ")"; } return argumentList; }