softwaremill/macwire
View on GitHub ↗ ★ 1,315 Scala
Zero-cost, compile-time, type-safe dependency injection library.
5 mentions on Hacker News by 3 people: 0 stories, 5 comments · first 2017-08-18 · latest 2019-05-01
20082026
-
…before) and will sort our necessary dependencies for you (and error out of they are missing). [1] https://github.com/adamw/macwire
comment by eeperson · 2019-05-01 · in Compile-Time DI vs. Run-Time DI -
…if it does slow down compilation, it is a price rarely paid due to incremental compilation. [1] https://github.com/adamw/macwire [2] https://google.github.io/dagger/
comment by eeperson · 2018-04-02 · in History of Spring Framework and Spring Boot -
…2[2]. At least in the case of Macwire, it is super simple to reason about at compile time. [1] https://github.com/adamw/macwire [2] https://google.github.io/dagger/
comment by eeperson · 2018-04-02 · in History of Spring Framework and Spring Boot -
…centralized logic in a single location, then Scala's MacWire library seems to be the best example: https://github.com/adamw/macwire Scala's implicits can be seen as some kind of lightweight DI system, but it is definitely not meant to be…
comment by sreque · 2017-12-04 · in Implicit Scope and Implicit Resolution in Scala -
…definitely a lot of very legitimate use-cases for them outside of Shapeless. To give just a few: * https://github.com/adamw/macwire * https://github.com/fthomas/refined * https://github.com/adamw/quicklens *…
comment by clhodapp · 2017-08-18 · in Reasonable Scala Compiler