fn run_query(
payload: Value,
client: &impl HttpFetcher,
fetch_options: &FetchOptions,
) -> Result<String, QueryError>Expand description
Runs a query against the GitLab API and returns the response as a string. Parsing the response
is up to the caller.
If there is an error, the function returns a QueryError.
ยงParameter
payload: A valid GraphQL JSON payload
client: The HTTP client, usually reqwest::Client
fetch_options: The options specified by the user