Configure Strict Mode in Yamale
masterBy default, Yamale is in strict mode, meaning it will error if unexpected elements are present in lists or maps.
- CLI: Use
--no-strictto disable strict mode. - API: Pass
strict=Falseto thevalidate()function. - Granular Control: You can set
strict=True/Falsewithin specificinclude()validators to control behavior for included structures only.