For benefit of those looking to try GraphQL Voyager, here are the steps I needed to take to make it work:
- Install get-graphql-schema (requires npm)
npm install -g get-graphql-schema
- Run get-graphql-schema against your Dgraph endpoint
get-graphql-schema http://localhost:8080/graphql > api.graphql
- Copy the generated schema to your paste buffer
cat api.graphql | pbcopy
- Paste contents into the
SDLtab in GraphQL Voyager