hmlongco / Factory

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

Promised ParameterFactory #133

Closed windom closed 1 year ago

windom commented 1 year ago

Hi! Is there any reason for not having promised() sugar for ParameterFactory just as for Factory? I think it would be just as useful.

Tiny bug: Globals.resetAndTriggerFatalError is not forwarding the file and line parameters to triggerFatalError.

(Also wanted to say, this framework really rocks, thank you!)

hmlongco commented 1 year ago

At one point I was keeping code size down but not sure that's good justification. Coming in 2.2.1.