Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

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

@HampusMat

Description

@HampusMat

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
  • to_*dynamic_value

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA general improvement suggestion

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions