Apollo-server: Graphql Voyager

Created on 30 Jun 2017  路  5Comments  路  Source: apollographql/apollo-server

It's only an idea.

Do you know https://github.com/APIs-guru/graphql-voyager ?

It's an amazing tool! Can you include this tool in graphql server like Graphiql. It's more complete, interactive and is more easy to document.

鉀诧笍 feature

Most helpful comment

@hmontes @stubailo Thanks to @steplov Voyager npm package now includes middleware for Express, Koa and Hapi. Docs are here: https://github.com/APIs-guru/graphql-voyager#middleware

All 5 comments

I think it should be possible to include it as a module just like we have GraphiQL today! Would be cool to work on a PR for that :]

@hmontes @stubailo Thanks to @steplov Voyager npm package now includes middleware for Express, Koa and Hapi. Docs are here: https://github.com/APIs-guru/graphql-voyager#middleware

@IvanGoncharov That's awesome! So is it still viable to bring this feature into the codebase?

That's awesome! I think it would be cool to have some kind of integration - like maybe we can make it so that you can just configure graphiql/voyager once, rather than having two middlewares?

In general, we're trying to make Apollo Server more composable, so making this a part of core doesn't seem like the best approach, but as suggested above, it's already a middleware so I'm not sure what would stop this from being used today. I love GraphQL Voyager, but I think it's best to keep it as a separate component that can be opted into as necessary.
Happy to re-open if anyone has some concrete reasons why this wouldn't be possible though! Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nevyn-lookback picture nevyn-lookback  路  3Comments

manuelfink picture manuelfink  路  3Comments

leinue picture leinue  路  3Comments

deathg0d picture deathg0d  路  3Comments

dupski picture dupski  路  3Comments