-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Milestone
Description
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.