pub fn parse_opt<C: DeserializeConfig>(&mut self) -> anyhow::Result<Option<C>> {
        let config_parser = self.inner.single::<C>()?;
        let prefix = config_parser.config().prefix();
        let maybe_config = config_parser.parse_opt().map_err(log_all_errors)?;
        if let Some(config) = &maybe_config {
            ObservabilityVisitor::visit(&self.inner, self.parsed_params.as_mut(), prefix, config);
        }
        Ok(maybe_config)
    }
Parses an optional configuration from this repo. The configuration must have a unique mounting point.
core/lib/config/src/repository.rs