Created
August 4, 2019 21:24
-
-
Save jczuchnowski/5b2b0fb120c7f55e22b5282277c367d3 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
trait DatabaseProvider { | |
def databaseProvider: DatabaseProvider.Service | |
} | |
object DatabaseProvider { | |
trait Service { | |
def db: UIO[BasicBackend#DatabaseDef] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment