Registry / dependency-injection / macros-2-13

macros-2-13

JSON →
library2.6.7javamavenunverified

Macros for MacWire, a Scala macro-based dependency injection library.

<dependency> <groupId>com.softwaremill.macwire</groupId> <artifactId>macros_2.13</artifactId> <version>2.6.7</version> </dependency>
INSTALL
IMPORT
SIG · MACROS-2-13
M
macros-2-13
dependency-injectionjavav2.6.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MacwireMacros
com.softwaremill.macwire.MacwireMacros

Use MacWire macros to automatically wire dependencies.

import com.softwaremill.macwire._ class A class B(a: A) object Main extends App { val a = wire[A] val b = wire[B] println(b) }
Debug
Known issues
breakingMacWire 2.x requires Scala 2.13 and may not be compatible with Scala 3.
fix
Use MacWire 3.x for Scala 3 support.
affects: >=2.0.0
Upgrade
Version history
2.6.7latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
30
Resources
macros-2-13 — mvn dependency:get macros-2-13 · libregistry