We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f64c6e2 + 66bf1cd commit 6193fc7Copy full SHA for 6193fc7
src/hex/di/util/MappingDefinitionUtil.hx
@@ -2,6 +2,7 @@ package hex.di.util;
2
3
import hex.di.mapping.MappingDefinition;
4
5
+using Lambda;
6
/**
7
* ...
8
* @author Francis Bourre
@@ -44,6 +45,6 @@ class MappingDefinitionUtil
44
45
}
46
47
- injectIntoValues.map(target.injectInto);
48
+ injectIntoValues.iter(target.injectInto);
49
50
test/hex/di/mock/injectees/OptionalClassInjectee.hx
@@ -11,7 +11,7 @@ import hex.di.mock.types.MockConstants;
11
class OptionalClassInjectee implements IInjectorContainer
12
{
13
@Inject
14
- @Optional( true )
+ @Optional
15
public var property : Interface;
16
17
public function new()
0 commit comments