Overview of ZIO Config features
series/4.xZIO Config is an extension to the core ZIO Config language. Key capabilities include:
- Support for Various Sources: Read flat or nested configurations from HOCON, JSON, YAML, TOML, XML, maps, and more using
IndexedFlat. - Automatic Derivation: Built-in support for automatically deriving readers and writers for case classes and sealed traits.
- Type-level Constraints and Validation: Support for Refined types allows for type-level predicates to constrain configuration values.
- Descriptive Errors: Instead of failing fast, the library accumulates and reports all configuration errors to the user.
- Automatic Documentation: Capability to auto-generate documentation for your configurations.