microsoft / PowerShellForGitHub

Microsoft PowerShell wrapper for GitHub API
Other
590 stars 186 forks source link

Add GitHub GraphQL API support #23

Open KarolKaczmarek opened 7 years ago

KarolKaczmarek commented 7 years ago

We should add support for GitHub GraphQL API as noted here: https://github.com/PowerShell/PowerShellForGitHub/issues/21

felixfbecker commented 6 years ago

Having worked with both the REST API and the GraphQL API extensively, the GraphQL API unfortunately does not support a lot of things that the REST API supports (but also some features are only in the GQL API).

The REST API is very easy to work with in scripting because of all the URL cross-references, and has clear error handling through HTTP, whereas GraphQL error handling can be very messy because it is per-field.

mabead commented 4 years ago

Any update on this? I am thinking of using the graphQL api to manage GitHub packages which are very easilly accessible from GraphQL.

HowardWolosky commented 3 years ago

Any update on this? I am thinking of using the graphQL api to manage GitHub packages which are very easilly accessible from GraphQL.

313 is now adding generic support for GraphQL.