hmlongco / Factory

A new approach to Container-Based Dependency Injection for Swift and SwiftUI.
MIT License
1.71k stars 107 forks source link

fix FactoryContext not public #116

Closed doozMen closed 1 year ago

doozMen commented 1 year ago

In order to change the context global I should use FactoryContext.setArg("light", forKey: "theme") but as the type is not public this is not possible

Note: Strange to me that you can have a publis current shared context object with a non public type. The compiler should fail no?