question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for graphql-voyager schema visualizer.

See original GitHub issue

As the title says, I’ve been trying to integrate voyager to visualize the schema. I have tried the different configurations suggested on their site, by using the server.express exposure. They have not been fruitful. Hence, can anyone come up with a working example of both?

Here is the link to the github library. https://github.com/APIs-guru/graphql-voyager

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
orefalocommented, Jun 22, 2018

I have it setup with graphql-cli, it works perfectly and does not pollute the code base, since it starts as a standalone app.

https://github.com/graphql-cli/graphql-cli https://github.com/graphql-cli/graphql-cli-voyager

1reaction
michals2commented, Jun 19, 2018

Just add it like any express middleware --> docs.

it worked for me by adding these 2 lines to my server config file: const { express: voyagerMiddleware } = require('graphql-voyager/middleware'); server.express.use('/voyager', voyagerMiddleware({ endpointUrl: '/graphql' }));

Read more comments on GitHub >

github_iconTop Results From Across the Web

GraphQL Voyager
Represent any GraphQL API as an interactive graph.
Read more >
IvanGoncharov/graphql-voyager: 🛰️ Represent any ... - GitHub
This is a great tool when designing or discussing your data model. It includes multiple example GraphQL schemas and also allows you to...
Read more >
A Visual Guide to GraphiQL and GraphQL Voyager - StepZen
Walk through how to use two popular GraphQL clients, GraphiQL and GraphQL Voyager, via screenshots to explore their features and usage.
Read more >
Awesome Tools and Extensions for GraphQL APIs - Dgraph
GraphQL Voyager ingests your GraphQL API and gives you a nice, interactive visualization of the GraphQL schema. GraphQL Editor goes the ...
Read more >
GraphQL Voyager – an interactive GraphQL schema explorer
GraphQL Voyager is a tool that you can use to visualise your GraphQL API's schema. Copy and paste the introspection query or the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found