Skip to content

Commit

Permalink
Merge pull request #884 from Flutterando/Fix/883
Browse files Browse the repository at this point in the history
Fix: #883 #872 Bugs Import Export Modules Dependencies
  • Loading branch information
jacobaraujo7 authored Aug 28, 2023
2 parents 0e4963f + c53a9b1 commit 9fdfbcb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions modular_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,48 @@
## 3.1.0+1 - 2023/08/24

* fix: Fix Import Modules Dependencies

## 2.0.3+1 - 2022/06/02

* feat: Added type propertie in removeBindContext

## 2.0.1 - 2022/05/12

* Fix: Inject.get should return instance

## 2.0.0 - 2022/05/11

* Remove `setDisposeResolver`.
* Apply `BindContract.onDispose` of `modular_interface`.
* Injetor.getBind now returns `BindEntry`.
* [BREAK CHANGE] Bind.export works only after imported.

## 1.2.2 - 2022/04/05

* Fixed binds auto-dispose [#699] [#671] [#678]

## 1.2.1 - 2021/12/31

* Fixed "bind replaced" bug

## 1.2.0 - 2021/10/28

* Added cleanTracker() for restart Modular. [#601](https://github.com/Flutterando/modular/pull/601)

## 1.2.0 - 2021/10/01

* Added reassemble method for routes and binds.

## 1.0.5 - 2021/09/24

* Fixed destroy

## 1.0.4 - 2021/09/22

* Rebuild modularArguments after get route

## 1.0.0+1 - 2021/09/05

* Stable version

## 0.0.2+1 - 2021/08/17
Expand Down
2 changes: 1 addition & 1 deletion modular_core/lib/src/tracker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,10 @@ class _Tracker implements Tracker {

AutoInjector _createInjector(Module module, [String? tag]) {
final newInjector = AutoInjector(tag: tag ?? module.runtimeType.toString());
module.binds(newInjector);
for (final importedModule in module.imports) {
importedModule.exportedBinds(newInjector);
}
module.binds(newInjector);
return newInjector;
}

Expand Down
2 changes: 1 addition & 1 deletion modular_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: modular_core
description: Smart project structure with dependency injection and route management
version: 3.1.0
version: 3.1.0+1
homepage: https://github.com/Flutterando/modular

environment:
Expand Down

0 comments on commit 9fdfbcb

Please sign in to comment.