ZIO/ZLayer FAQ: How to use a Typesafe Config HOCON properties file with ZIO
ZIO/ZLayer FAQ: How do I use a Typesafe Config HOCON properties file with ZIO?
Solution
For this ZIO ZLayer
solution, you can use the zio-config library for things like this, but at the moment my preferred approach is to hand-code this solution. That’s probably because I’ve written code before to read a HOCON file, so it’s more straightforward atm.