Scaldi v0.4 Release Notes
Release Date: 2014-06-22 // almost 10 years ago-
Constrictor injection with
injected
macros. Here is an example if it's usage:bind [Users] to injected [UserService]
.👍 Only Scala version 2.11 is supported from now on (mostly because of the macros)
Conditions are now composed together with and if applied several times for the same binding with
when
block:when (inDevMode or inTestMode) { bind [Database] to new Riak bind [PaymentService] to new MockPaymentService }