Skip to main content

apply_env_overrides

Function apply_env_overrides 

Source
pub fn apply_env_overrides(config: &mut Config) -> Result<AppliedOverrides>
Expand description

Apply every ZEROCLAW_<lowercase> env var to config. Returns the set of dotted prop-paths that were overridden plus the pre-override raw values for each. Hard-errors on any env var that doesn’t resolve to a known schema path or whose alias fails validation.