config derivation with ZIO config and Magnolia
Config derivation with ZIO config and Magnolia.
Config derivation with ZIO config and Magnolia.
We’ll compare some code written with Either with similar code written using Exceptions and see how they are the same and how they differ.
Preferable you start a ZIO application with just one runtime.unsafeRun
.
But when you’re migrating an old application to ZIO, you likely have multiple places to do runtime.unsafeRun
.
We will investigate how to deal with the environment (layers).
We’ll look at some examples of different kinds of exceptions and how we can deal with them in ZIO.