Questions tagged [zio-config]

Documentation: https://zio.github.io/zio-config/

Github: https://github.com/zio/zio-config

Discord (Chat Channel): https://discordapp.com/channels/629491597070827530/633028431000502273

2 questions
3
votes
1 answer

How to handle an ADT (sealed trait) with ZIO config

How can I add a Configuration Description manually for an Algebraic Data Type with ZIO Conf. In the examples I found an example on how to handle ADTs with Magnolia. Is this also possible when adding manually a Description of the…
pme
  • 14,156
  • 3
  • 52
  • 95
1
vote
1 answer

How does a Config Descriptor look for a Map with ZIO Config / Magnolia

I have the following Case Class: case class MyClass(name: String, params: Map[String, String]) I couldn't figure out how to create a Config Description for this. Also automatic derivation with Magnolia did not work. Error:(70, 44) could not find…
pme
  • 14,156
  • 3
  • 52
  • 95