Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
providers.Object not injecting the original object #231
In the documentation you can read about the Object provider:
However when I try to inject a parameter from an Object provider I get a different instance. I have been only able to get the original object using a Callable provider.
This code exemplifies the issue:
As you can see in the output, providers.Object is returning a different instance:
I am using Python 3.5.2 and dependency-injector 3.14.10