Function gql_query

Source
pub async fn gql_query(
    client: &Client,
    query: &&str,
    token: &String,
    owner: &&str,
    repo: &&str,
) -> Result<Value>
Expand description

Returns the result of a graphql query to the github api.

ยงArguments

  • client - The reqwest client.
  • query - The graphql query.
  • token - The github token.
  • owner - The owner of the repo.
  • repo - The name of the repo.