These are chat archives for adamw/macwire

29th
Mar 2016
Mark Grey
@DeaconDesperado
Mar 29 2016 14:38
I'm probably misunderstanding macwire in a very simple way, but if i have a collection of "interfaces" represented as traits, and want to "wire" the implementation of those traits in (think like guice here I guess?), how would that work with macwire? If I'm understanding the example in the README correctly it seems to be wiring only the implementations themselves.
Rafal Wachol
@charafau
Mar 29 2016 14:57
you simply wire implementation like wire[DatabaseDaoImpl]
in tests you can make TestModule which will extend MainModule and override that wire with some MockDatabaseDao