Skip to content

Service map autowire with polymorphic services #111

@JeWe37

Description

@JeWe37

Is your feature request related to a problem? Please describe.
I'm trying to auto wire polymorphic services in the simplest way possible.

Describe the solution you'd like
I'd like to be able to do this through the service map.

Describe alternatives you've considered
So far this can only be done with services that you define yourself and then use autowire to detect the dependencies.

Additional context
This should by all accounts be as simple as just adding a few more definitions and aliases, inheriting from both the four existing services and kgr::polymorphic in autowire.hpp. Might give this a shot myself in a PR. Given that I don't have an overview of this I can't say if I may be missing something though.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions