Skip to content

Commit

Permalink
Merge pull request #5 from utopia-dart/fix-remove-static
Browse files Browse the repository at this point in the history
Fix remove static
  • Loading branch information
lohanidamodar committed Mar 23, 2024
2 parents e399bae + 52a8495 commit 58690eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.1

- Fix issues caused by static properties

## 0.2.0

- Improve library namings
Expand Down
3 changes: 1 addition & 2 deletions lib/src/di.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class DI {
static const defaultContext = 'utopia';
static DI? _instance;
final Map<String, Map<String, dynamic>> _resources = {};
static final Map<String, Map<String, ResourceCallback>> _resourceCallbacks =
{};
final Map<String, Map<String, ResourceCallback>> _resourceCallbacks = {};

/// Get singleton instance
static DI get instance {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: utopia_di
description: Light & Fast Dart Dependency Injection library. Easy to use and powerful for all kinds of needs, with no external dependencies.
version: 0.2.0
version: 0.2.1
repository: https://github.com/utopia-dart/utopia_di

environment:
Expand Down

0 comments on commit 58690eb

Please sign in to comment.