Returns a new config that is the composition of this config and the specified config.
Adds a description to this configuration, which is intended for humans.
Returns a new config whose structure is the same as this one, but which produces a different Scala value, constructed using the specified function.
Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified function, which may throw exceptions that will be translated into validation errors.
Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified fallible function.
Returns a new config that has this configuration nested as a property of the specified name.
Returns an optional version of this config, which will be None
if the
data is missing from configuration, and Some
otherwise.
A named version of ||
.
Returns configuration which reads from this configuration, but which falls back to the specified configuration if reading from this configuration fails with an error satisfying the specified predicate.
Returns a new config that describes a sequence of values, each of which has the structure of this config.
Returns a new config that describes the same structure as this one, but which performs validation during loading.
Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified partial function, failing with the specified validation error if the partial function is not defined.
Returns a new config that describes the same structure as this one, but has the specified default value in case the information cannot be found.
A named version of ++
.
Returns a config whose structure is preferentially described by this config, but which falls back to the specified config if there is an issue reading from this config.
A zio.Config describes the structure of some configuration data.