I am trying to use the runtime_injector (because our application with hundreds of bindings now takes several minutes to compile and compilation time looks exponential :worried: ). We're using named injection and shared_factory extension extensively in our application (because of #252).
Unfortunately it looks like using named injection or shared_factory does not work with the runtime_injector. This issue is about shared_factory.
Please let me know if this is a known limitation or if I am using it wrong.
Context
I am trying to use the
runtime_injector
(because our application with hundreds of bindings now takes several minutes to compile and compilation time looks exponential :worried: ). We're using named injection and shared_factory extension extensively in our application (because of #252).Unfortunately it looks like using
named injection
orshared_factory
does not work with theruntime_injector
. This issue is about shared_factory.Please let me know if this is a known limitation or if I am using it wrong.
Sample code
Expected Behavior
No compilation error.
Actual Behavior
Compilation error:
Steps to Reproduce the Problem
Specifications