Perform a query using Github's Graphql API.
(queryObject: T, params: RequestParameters = {})
| 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. */ |
no test coverage detected