scope 2.2.1 scope: ^2.2.1 copied to clipboard
A Dependency injection (Inversion of Control) library. Supports nested Scopes and multiple values of the same type.
2.2.1 #
- Improved debug messages for ScopeKeys by providing the type and debug name if available.
2.2.0 #
- ENH: Added new method hasScopeValue
- ENH: added withDefault argument to
use
to provide site specific defaults - BREAKING: Subtle change to method hasScopeKey. Previously it return true if the key was in scope or if it had a default value. Use hasScopeValue to get the original implementation and use hasScopeKey to check if a key exists.
2.1.2 #
- purged singleton from the doc as it is now single.
2.1.1 #
- purged the term generator for the code/doco as it should be sequence.
2.1.0 #
- Deprecated factory in favour of single. Added sequence in favour of the originally planned generator.
2.0.2 #
updated description again.
2.0.1 #
Updated readme and pubspec description.
2.0.0 #
- renamed packaged to scope.
1.0.2 #
- changed hasScopeKey to not throw an exception internally as it is a pain when debugging with all exception catching on.