pot 0.3.2 copy "pot: ^0.3.2" to clipboard
pot: ^0.3.2 copied to clipboard

An easy and safe DI (Dependency Injection) solution for Dart with support for scoping.

0.3.2 #

  • Improve example.

0.3.1 #

  • Add hasObject that shows whether an object has been created.

0.3.0 #

  • Make ReplaceablePot a subtype of Pot.
  • Minor changes in tests.

0.2.1 #

  • Include type name in assertion error message.
  • Improve documentation.
  • Update dev dependency.

0.2.0 #

  • Breaking changes
    • Remove get getter.
    • Change replace() and replaceForTest() to replace not only factory but also object.
      • Before
        • The existing object is discarded and a new object is not created.
      • Now
        • If there was an object, it is discarded and a new object is created.
        • If there was no object, a new object is not created.
  • Warn when new object is created in older scope than where previous object was bound to.
  • Minor refactoring of reset().
  • Refactor tests and add some more.
  • Improve documentation.

0.1.1 #

  • Fix and improve documentation.

0.1.0 #

  • Initial version.
5
likes
0
pub points
44%
popularity

Publisher

verified publisherkaboc.cc

An easy and safe DI (Dependency Injection) solution for Dart with support for scoping.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta

More

Packages that depend on pot