Syrette
Syrette copied to clipboard
Remove need to nest functions passed to to_*factory and to_*dynamic_value
It's a big hassle that a factory function have to be nested inside of another function when passed to the to_*factory binding builder functions. Instead of the wrapping function taking a DI container reference, the factory function can take a DI container reference and can be curried before it is given to the user.
- [ ] to_*factory
- [x] to_*dynamic_value