modularity_core 0.1.0 copy "modularity_core: ^0.1.0" to clipboard
modularity_core: ^0.1.0 copied to clipboard

Core implementation of Modularity framework providing dependency injection container and module lifecycle management.

0.1.0 #

  • Added ModuleOverrideScope for hierarchical overrides and exported it via modularity_core.
  • Added ModuleRegistryKey for override-aware controller caching. Controllers with different override scopes are now stored separately in the global registry.
  • ModuleController.hotReload now preserves singleton instances while refreshing factories and re-applies overrides automatically (uses the new RegistrationStrategy.preserveExisting).
  • SimpleBinder implements RegistrationAwareBinder and respects preserve mode for both private and public scopes.
  • GraphResolver and ModuleController now pass override scopes down to child modules.

0.0.2 #

  • Implemented sealPublicScope() and resetPublicScope() in SimpleBinder
  • Added isExportModeEnabled and isPublicScopeSealed getters
  • Improved README with detailed documentation and examples
  • Improved package metadata for pub.flutter-io.cn (topics, issue_tracker)

0.0.1 #

  • Initial release.
1
likes
150
points
111
downloads

Publisher

unverified uploader

Weekly Downloads

Core implementation of Modularity framework providing dependency injection container and module lifecycle management.

Repository (GitHub)
View/report issues

Topics

#dependency-injection #di #modules #architecture

Documentation

API reference

License

MIT (license)

Dependencies

meta, modularity_contracts

More

Packages that depend on modularity_core