Syrette icon indicating copy to clipboard operation
Syrette copied to clipboard

Remove need to nest functions passed to to_*factory and to_*dynamic_value

Open HampusMat opened this issue 1 year ago • 0 comments

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

HampusMat avatar Jul 07 '24 16:07 HampusMat