These are chat archives for adamw/macwire

12th
Jan 2016
Ilya Epifanov
@ilya-epifanov
Jan 12 2016 09:52
Hi guys, can I wire some parameters with macwire but provide remaining ones with implicits manually?
Like this: def strategy1()(implicit staticsContext: StaticsContext, param1: Param1) = wire[Strategy1]
class Strategy1 @Inject() (val service1: Service1, val service2: Service2)(implicit staticsContext: StaticsContext, param1: Param1) { ... }
Or should I separate this into two classes?
Ilya Epifanov
@ilya-epifanov
Jan 12 2016 10:30
Ok, I've tested this, it works fine:)