danger / danger/peril

Expose GitHub GraphQL API?

Open
#453 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
460
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Hey! So [we were building a new feature](https://github.com/artsy/peril-settings/pull/133) for Artsy's Peril use and wanted to use GitHub's GraphQL api. `danger.github.api` returns an `octokit/rest.js` instance, but I'm wondering if Peril could expose an `octokit/graphql.js` instance as well? Or is this maybe already exposed, but I can't see it? [A workaround exists](https://github.com/octokit/rest.js/issues/592#issuecomment-373387697) but getting first-party support would be awesome.

If this seems like a worthwhile feature, I'd be down to work on it 👍

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.