Skip to content

v2.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jul 13:57
· 290 commits to master since this release

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()))
}