|None=>Err(eyre!("{name} API endpoint not found")),
}
}
letmuterrors=Vec::new();
fornameinnames{
matchfetch(name,action).await{
|Ok(response)=>returnOk(response),
|Err(why)=>errors.push(format!("{name}={why}")),
}
}
Err(eyre!("Failed to download and parse language metadata — {}",errors.join("; ")))
}
/// Add a note (comment) to a merge request using project identifier and merge request IID
///
/// When used in CI environment, the project identifier can be obtained from the `CI_PROJECT_ID` environment variable and the merge request IID can be obtained from the `CI_MERGE_REQUEST_IID` environment variable.
/// Construct a query string for an endpoint API query from a list of field-value pairs, a list of fields, and a list of fields with boosted relevance.
///
/// The query string is constructed by joining the following parts with "&":