-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generates something mostly plausiblegit add .
- Loading branch information
1 parent
7a20e2a
commit e8b5ccb
Showing
8 changed files
with
23,487 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ Config options: | |
|
||
Misc: | ||
- replace __ with some unicode garbage | ||
- handle graphql errors in a reasonable way |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Generate the schemas by getting a token from [GitHub](https://github.com/settings/tokens/new) (no scopes needed), then: | ||
``` | ||
npm install -g graphql-introspection-json-to-sdl | ||
curl -H "Authorization: bearer <your token>" https://api.github.com/graphql >example/schema.json | ||
graphql-introspection-json-to-sdl example/schema.json >example/schema.graphql | ||
``` | ||
TODO: something better |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.