Open philipbjorge opened 1 year ago
@philipbjorge - installed your fix from git, works like magic! @rmk135 is there any chance we could get it merge?
@toinbis -- Another type update :) https://github.com/ets-labs/python-dependency-injector/pull/744
When referencing a singleton via
foo.provided.bar
, we lose type safety becauseprovided
always resolves to theProvidedInstance
rather than the specific type of the dependency.Expected
settings.provided
resolves toSettings
Actual
settings.provided
resolves toProvidedInstance
This seems like an easy change to make -- Is there any reason this wouldn't work if I opened a PR?