angel-dart / angel

[ARCHIVED] A polished, production-ready backend framework in Dart for the VM, AOT, and Flutter.
https://angel-dart.dev/
MIT License
1.06k stars 67 forks source link

Allow mutable injections #195

Closed thosakwe closed 3 years ago

thosakwe commented 4 years ago

This issue was originally created by @thosakwe here, before being automatically moved: https://github.com/angel-dart-archive/container/issues/8


Should default to false... Principle of least surprise.

container.registerSingleton(Foo(), allowOverwrite: true)