WispConfig

object WispConfig

WispConfig is a wrapper around the Hoplite config library: https://github.com/sksamuel/hoplite

Config precedence is in order of sources added for loading, so if you want an environment config file to override values in the default file, it has to be added first.

Note that config values from Environment Variables, System Properties and User Settings are always loaded first, see: https://github.com/sksamuel/hoplite#property-sources for details.

Secrets in config are automatically handled, see: https://github.com/sksamuel/hoplite#masked-values

Note that if you are passing configuration fragments within Wisp, your config class should implement Config

Functions

Link copied to clipboard
fun builder(): ConfigLoaderBuilder

Get a config builder.