We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
injector.resolveInjections() uses classMirror.declarations to obtain a list of all injectable variables on a class. However, classMirror.declarations doesn't include inherited properties as such, the following injection is never resolved:
injector.resolveInjections()
classMirror.declarations
class Foo extends Bar { Foo():super(); } class Bar { @inject Zap myInjectedProperty; Bar() { // setup } } var bar = new Bar(); print(bar.myInjectedProperty); // <<-- instance of Zap var foo = new Foo(); print(foo.myInjectedProperty); // <<-- null
The text was updated successfully, but these errors were encountered:
Support inherited properties when resolving injections. (Issue ltackm…
1b814f1
…ann#28) ltackmann#28
Merge pull request #29 from KOGI/KOGI-inherited-injectables
689b434
Support inherited properties when resolving injections. (Issue #28)
Should be fixed by pull request. @MikeMitterer previously asked if he could take over this project as I have little time.
Sorry, something went wrong.
No branches or pull requests
injector.resolveInjections()
usesclassMirror.declarations
to obtain a list of all injectable variables on a class. However,classMirror.declarations
doesn't include inherited properties as such, the following injection is never resolved:The text was updated successfully, but these errors were encountered: