Files
genqlient/example
Ben Kraft d449acdda3 Clarify object type documentation
Craig pointed out this is a bit confusing when you don't have all the
fields.  Now we say so, but still include the type's description in case
it's useful.

Fixes #37.
2021-04-23 18:13:32 -07:00
..
2021-03-30 12:41:37 -07:00
2021-04-23 18:13:32 -07:00
2021-04-02 17:01:49 -07:00

example of genqlient

Invoking the example

Create a personal access token with no scopes.

To run the example:

$ GITHUB_TOKEN=<your token> go run ./cmd/example/main.go <username>
you are Ben Kraft
csilvers is Craig Silverstein

Running genqlient

It's already checked in to github, but to regenerate generated.go:

go generate ./...

Generating the schema file

The schema file is also checked in, but to update it, download from the GitHub API documentation.