Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benefits over express-graphql #29

Closed
codepunkt opened this issue Jun 14, 2016 · 8 comments
Closed

Benefits over express-graphql #29

codepunkt opened this issue Jun 14, 2016 · 8 comments

Comments

@codepunkt
Copy link

Why would one want to use this module instead of express-graphql?
On a first look it seems it's basically the same.

@helfer
Copy link
Contributor

helfer commented Jun 14, 2016

Apollo server and express-graphql do almost the same thing. Apollo server just provides a superset of functionality compared to express-graphql. For instance, it lets you easily define your schema in GraphQL schema language. See the docs for more details: http://docs.apollostack.com/apollo-server/tools.html

We're currently refactoring the core to provide integrations with HAPI, express, connect and Koa. Once we're done with that, apollo server will no longer rely on express-graphql internally, and provide extra functionality, like websocket transports, stored queries, query batching, profiling & performance monitoring, etc.

@codepunkt
Copy link
Author

That sounds interesting, i will keep an eye out. My major pain points with express-graphql and graphql-js at the moment are fine grained validation of user input and authentication using graphql route.

Thanks for answerin!g :-)

@denneulin
Copy link

Hi @helfer, do you have any idea of the release date for the your HAPI version ?

@helfer
Copy link
Contributor

helfer commented Jun 29, 2016

@denneulin The refactored express version is almost ready and will be merged into master early next week. @nnance has been working on a HAPI implementation alongside that. It's not quite ready yet, but I think it will be soon, because I can start working on it as well next week.

@helfer
Copy link
Contributor

helfer commented Jul 27, 2016

Closing this to reduce since I think the original question is basically answered.

@helfer helfer closed this as completed Jul 27, 2016
@kfiroo
Copy link

kfiroo commented Aug 30, 2017

Also in the docs now for anyone wondering https://github.com/apollographql/apollo-server#comparison-with-express-graphql

@adamchenwei
Copy link

@kfiroo the doc no longer available. reason?

@johannespfeiffer
Copy link

Git never forgets 😄
https://github.com/apollographql/apollo-server/tree/cfb086227e623ba1531bb887c3919e224682ccbc#comparison-with-express-graphql

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants