in crates/core/src/config/mod.rs [57:68]
fn validate(&self, configs: &HashMap<String, String>) -> Result<()> {
match self.parse_value(configs) {
Ok(_) => Ok(()),
Err(e) => {
if !self.is_required() && matches!(e, NotFound(_)) {
Ok(())
} else {
Err(e)
}
}
}
}