peril icon indicating copy to clipboard operation
peril copied to clipboard

Expose GitHub GraphQL API?

Open ashfurrow opened this issue 6 years ago • 2 comments

Hey! So we were building a new feature 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 but getting first-party support would be awesome.

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

ashfurrow avatar Aug 09 '19 19:08 ashfurrow

This isn't really a peril-level abstraction, it's a danger one - regardless I could see danger supporting that for sure.

Looks like they share their dependencies anyway 👍

orta avatar Aug 09 '19 19:08 orta

Ah right, of course! Okay cool, I'll dig into that tomorrow at Peer Lab 👍

ashfurrow avatar Aug 09 '19 20:08 ashfurrow