-
-
Save KadekM/b67608d11ee7c13979a16c81d553be54 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
override def run(args: List[String]): URIO[zio.ZEnv, ExitCode] = { | |
val zio = ??? // what we implemented above | |
val loggingLayer = Logging.console() ++ dbSessionLayer | |
zio | |
.provideCustomLayer(loggingLayer) | |
.exitCode | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment