Closed patskovn closed 3 years ago
Improved argument injection for custom typing. Currently not work with case:
container.register { MyClass(inj: arg($0) } .as(name: "Name", MyProtocol.self) .as(tag: MyTag.self, MyProtocol.self) let arg = AnyArgument(type: MyProtocol.self, value: 1) let obj: MyProtocol = container.resolve(arg)
PR will fix this and allow usage of arguments with taged and named registrations
Improved argument injection for custom typing. Currently not work with case:
PR will fix this and allow usage of arguments with taged and named registrations