catalyst 2.0.2 catalyst: ^2.0.2 copied to clipboard
The only dependency injection container for Dart you'll ever need
2.0.2 #
- Copyright updated
- Travis fixed
- Fix lib/container.dart. (-0.50 points): line 132 col 13: Don't explicitly initialize variables to null.
- Fix lib/service.dart. (-0.50 points): line 50 col 13: Use isNotEmpty instead of length
isInstanceOf<T>
replaced byTypeMatcher<T>
analysis_options.yaml
added
2.0.0 / 2.0.1 #
- SDK version constraint updated
- Test version updated
1.1.1 #
Tests fixed
- Using
Exception.toString()
instead of accessing the message property
1.1.0 #
Code refactored
Container.get()
method splitted into multiple methods_loadAndRetrieveService()
loads the service and stores it in the_loadedServices
property_injectServicesAndParameters()
fetches the@foobar
services and%foo_bar%
parameters and inject them_doAutoWire()
auto wires the injections
Service.getMetadata()
andService.targetMirror
added
1.0.0 #
- First Release
- Example code in /example added
0.0.2 #
- Auto wiring implemented (See "Service auto wiring" in the README)
0.0.1 #
- Initial release