Skip to content

Releases: softwaremill/macwire

v2.5.7

10 Apr 11:11

Choose a tag to compare

What’s Changed

v2.5.6

16 Feb 18:43

Choose a tag to compare

What’s Changed

v2.5.4

18 Jan 16:03

Choose a tag to compare

What’s Changed

v2.5.3

05 Jan 08:09

Choose a tag to compare

What’s Changed

  • Construct root instances with factory methods (#192) @mbore

v2.5.2

23 Dec 11:59

Choose a tag to compare

What’s Changed

v2.5.0

21 Oct 19:13

Choose a tag to compare

What’s Changed

  • Implement wireResource for scala 2 (#175) @mbore

v2.4.2

06 Oct 16:49

Choose a tag to compare

What’s Changed

v2.4.1

01 Sep 15:23

Choose a tag to compare

What’s Changed

v2.4.0

23 Jul 13:57

Choose a tag to compare

What’s Changed

class DatabaseAccess()
class SecurityFilter()
class UserFinder(databaseAccess: DatabaseAccess, securityFilter: SecurityFilter)
class UserStatusReader(userFinder: UserFinder)

trait UserModule {
    import com.softwaremill.macwire._

    lazy val theUserStatusReader = wireRec[UserStatusReader]
}

generates:

trait UserModule {
  lazy val theUserStatusReader = new UserStatusReader(
    new UserFinder(new DatabaseAccess(), new SecurityFilter()))
}

Release 2.3.3

12 Jun 10:59

Choose a tag to compare

release-2.3.3

Release 2.3.3