MCPcopy Create free account
hub / github.com/angular/dev-infra / graphql

Method graphql

ng-dev/utils/git/github.ts:140–144  ·  view source on GitHub ↗

Perform a query using Github's Graphql API.

(queryObject: T, params: RequestParameters = {})

Source from the content-addressed store, hash-verified

138
139 /** Perform a query using Github's Graphql API. */
140 async graphql<T extends GraphqlQueryObject>(queryObject: T, params: RequestParameters = {}) {
141 return invokeWithRetry(async () => {
142 return (await this._graphql(query(queryObject).toString(), params)) as T;
143 });
144 }
145}
146
147/** Whether the given object corresponds to an Octokit API request error. */

Callers 6

getPrFunction · 0.80
getPendingPrsFunction · 0.80
getPrFilesFunction · 0.80
getPrCommentsFunction · 0.80
retrieveDataMethod · 0.80

Calls 2

invokeWithRetryFunction · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected