Skip to main content

validate

Function validate 

Source
pub fn validate(config: &AlefConfig) -> Result<(), AlefError>
Expand description

Validate user-supplied pipeline overrides.

Returns the first error encountered (or Ok(()) when every user-supplied table either declares a precondition or only sets non-main fields). After validation, warns users when they declare values that match the built-in defaults, so they can remove redundant config.