factory_core 0.3.0
factory_core: ^0.3.0 copied to clipboard
Typed factories, scoped resolution and deterministic ownership without Flutter.
0.3.0 #
- Add
FactoryRef.resolverandFactoryResolver.resolvefor retained scoped dependency access without observation or an extra cache. - Track late dependencies for cleanup, reject dependency cycles and keep retained resolvers associated with their original instances after replacement.
- Custom implementations of
FactoryRefmust implement its newresolvergetter; existing construction callbacks do not need changes.
0.2.0 #
- Add an explicit Dart/Flutter generation target to
FactoryRegistry. - Improve missing declaration, external override, and duplicate exposure diagnostics with corrective actions.
- Add repeated lifecycle and ownership contract coverage.
0.1.0 #
- Add typed factory declarations and modules.
- Add scoped and unique resolution with explicit overrides.
- Add dependency observation, deterministic ownership, and asynchronous cleanup.