Last active
June 12, 2017 19:30
-
-
Save xerial/376a18741ffedb21520935bbdebc3730 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyServic(d1:D1, d2:D2, d3:D3, ...) | |
val d1 = new D1(....) | |
val d2 = new D2(....) | |
val d3 = new D3(....) | |
val service = new MyService(d1, d2, d3, ...) | |
trait MyService { | |
val d1 = bind[D1] | |
val d2 = bind[D2] | |
val d3 = bind[D3] | |
} | |
val session = design.session | |
session.build[MyService] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment