injectable_generator 0.2.2 injectable_generator: ^0.2.2 copied to clipboard
Injectable is a convenient code generator for [get_it](https://pub.dev/packages/get_it). Inspired by Angular DI, Guice DI and inject.dart.
ChangeLog #
[0.2.2] #
- remove flutter dependency
- add support for custom initializers in register Modules
- minor fixes
ChangeLog #
[0.2.1] #
- fix typo in @Environment annotation
- ignore abstract classes in auto mode.
[0.2.0] Breaking Changes! #
- You now need to pass in your getIt instance to @initGetIt() func
- Rename @Bind to @RegisterAs to avoid confusion because, now we're annotating the implementation not the abstract.
- Add @factoryMethod annotation to mark named factories and static create methods.
- Add @registerModule annotation to support registering third party types.
- Fix eager singletons are registered before their dependencies.
[0.1.0] #
- initial release