githubv4
githubv4 copied to clipboard
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql).
Currently if I create a client, the client ties to a token. This isn't ideal for a multi-tenant system where I have to create a new client for each request...
To do multiple mutations in a single request, it seems like you have to arbitrarily choose one of them to receive `$input`, and pass that input in the `input` argument...
Closes #70 This PR adds the ability to specify inputs to multiple mutations exclusively in `variables`, rather than arbitrarily choosing one of them to receive `input`.
I want to query multiple repositories at the same time. But I don't want to write the query for a specific number of repositories, but rather create the query at...
Other golang serializers tend to use "-" as an ignore tag. Eg, json : `json:"-"` I've found an ugly workaround for githubql: ```go var query struct { ... IgnoreThisField int...
Similar to GitHub REST API v3, GitHub GraphQL API v4 also has preview APIs that let users try out new features and changes before they become part of the official...
Hi all! I'm wondering if it's possible to use this library in a way that "dynamically" sets what GraphQL fields are used in a query (in the actual request to...
Hello, I'm trying to convert this query into a struct: ```javascript { repository(owner: "google", name: "gson") { name refs(first: 100, refPrefix: "refs/heads/") { edges { node { name target {...
Any new contributor can now clone the repo and run `make test` to test the source code of the repository. Add a `docker-compose.yaml` and a `Makefile` to specify the new...