dice
dice copied to clipboard
Lightweight dependency injection framework for Dart
Hello dev: Is support annotate `@inject` at construction function or factory function? Thanks. ```dart class MyClass { final A _a; final B _b; @inject MyClass(@Named('my-special-implementation’) this._a, @Named('my-special-implementation2’) this._b ) }...
Hi, What's the status on support for Dart 2.x? Is there a roadmap? I would like to contribute as well
Let me know if you need any help on it
Scan through libraries for classes implementing interfaces
Hi Lars, I updated the README. Please verify if it's clear to you.
Just want to let you know there is a problem between the VM and the dart2js version. ``` dart abstract class Name { String get firstName; } // Fails if...
Implement annotation scanner implemented as part of pub build that ensures dependencies are wired up correctly similarly to what Dagger does http://google.github.io/dagger/
First of all, this is a _totally_ stylistic change, and a breaking one at that. I just think the latter looks a little terser, especially because the form. ``` dart...
To be inter-operable with other DI implementations.
Use log4dart so you can use diagnostic contexts to trace the actual class lookup