angel3_container 3.0.2
angel3_container: ^3.0.2 copied to clipboard
A hierarchical DI container, and pluggable backends for reflection.
3.0.2 #
- Resolved static analysis warnings
3.0.1 #
- Updated README
3.0.0 #
- Migrated to support Dart SDK 2.12.x NNBD
2.0.0 #
- Migrated to work with Dart SDK 2.12.x Non NNBD
1.1.0 #
pedanticlints.- Add
ThrowingReflector, which throws on all operations. EmptyReflectorusesObjectinstead ofdynamicas its returned type, as thedynamictype is (apparently?) no longer a valid constant value.registerSingletonnow returns the providedobject.registerFactoryandregisterLazySingletonnow return the provided functionf.
1.0.4 #
- Slight patch to prevent annoying segfault.
1.0.3 #
- Added
Futuresupport toReflector.
1.0.2 #
- Added
makeAsync<T>.
1.0.1 #
- Added
hasNamed.
1.0.0 #
- Removed
@GenerateReflector.
1.0.0-alpha.12 #
StaticReflectornow defaults to empty arguments.
1.0.0-alpha.11 #
- Added
StaticReflector.
1.0.0-alpha.10 #
- Added
Container.registerLazySingleton<T>. - Added named singleton support.
1.0.0-alpha.9 #
- Added
Container.has<T>.
1.0.0-alpha.8 #
- Fixed a bug where
_ReflectedTypeInstance.isAssignableToalways failed. - Added
@GenerateReflectorannotation.
1.0.0-alpha.7 #
- Add
EmptyReflector. ReflectedType.newInstancenow returns aReflectedInstance.- Moved
ReflectedInstance.invoketoReflectedFunction.invoke.
1.0.0-alpha.6 #
- Add
getFieldtoReflectedInstance.
1.0.0-alpha.5 #
- Remove concrete type from
ReflectedTypeParameter.
1.0.0-alpha.4 #
- Safely handle
voidreturn types of methods.
1.0.0-alpha.3 #
- Reflecting
voidinMirrorsReflectornow forwards todynamic.
1.0.0-alpha.2 #
- Added
ReflectedInstance.reflectee.
1.0.0-alpha.1 #
- Allow omission of the first argument of
Container.make, to use a generic type argument instead. singleton->registerSingleton- Add
createChild, and support hierarchical containers.