ivlevAstef / DITranquillity

Dependency injection for iOS (Swift)
MIT License
421 stars 32 forks source link

Generic Default value swift 5.7 #162

Closed ivlevAstef closed 1 year ago

ivlevAstef commented 1 year ago

Now for check type your can write:

container.register(A.init)
  .as(check: Protocol.self, { $0 })

Maybe after swift 5.7 no need write check, and can use default generic value.

ivlevAstef commented 1 year ago

Not work :( compile error :(