You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to inject annotated type into the class via the @inject decorator, and the injector injected the default value for the annotated source class. The injector always extracts the source class from the annotated and replaces the original attributed type with the extracted one in the bindings map. So when you use Annotated[str, "foo"] and try to @inject it into some class, the constructor will receive an empty string instead of the provider you set while configuring the binder.
I prepared the PR with the possible fix and the test describing the issue PR 266