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

Does the Apollo-Client work on non Apollo GraphQL servers? #146

Closed
AdamBrodzinski opened this issue Apr 24, 2016 · 10 comments
Closed

Does the Apollo-Client work on non Apollo GraphQL servers? #146

AdamBrodzinski opened this issue Apr 24, 2016 · 10 comments

Comments

@AdamBrodzinski
Copy link

I've been reading up on Apollo and am very impressed! I already have a GraphQL server running on a non-Node server and was wondering if it's going to be compatible with those? (Obviously some of the features wont work). The long polling and caching are the most interesting for my use case (on RN).

I checked out the design.md file but couldn't determine a clear answer.

@helfer
Copy link
Contributor

helfer commented Apr 24, 2016

Yes, one of our goals with apollo client is to be compatible with any spec compliant GraphQL server. There may be more advanced features we're going to build in the future that require implementing a slightly different spec on the server, but the basic features of Apollo client should always work with any GraphQL server.

@jbaxleyiii
Copy link
Contributor

@AdamBrodzinski we are using it with a project that has a non apollo GraphQL and its working great!

@AdamBrodzinski
Copy link
Author

Thanks for the fast feedback! Closing this out.

@smolinari
Copy link
Contributor

@helfer - can you name a couple of examples of those advanced features?

Scott

@stubailo
Copy link
Contributor

I think if we build features that depend on client/server cooperation, we'll have standalone specs/plugins for the server to add them, but they could include:

  1. Login/auth management
  2. Reactivity
  3. More efficient transport

You could imagine more, but we're committed to making this client as generic as possible, so that anyone can use it!

@smolinari
Copy link
Contributor

How about making a system that is fully and very easily extendable/ plug-in-able and let the rest of the dev community add to it as they wish?

Scott

@stubailo
Copy link
Contributor

That's the goal! if there is something you can't plug into, I'd be happy to make it possible!

@smolinari
Copy link
Contributor

#143

😄

Scott

@agastyasilvina
Copy link

@jbaxleyiii is there any tutorial for Apollo client that has a non apollo GraphQL? Thanks before

@helfer
Copy link
Contributor

helfer commented May 5, 2016

@agasvina There is no such thing as Apollo GraphQL, what we're using is just plain GraphQL. You can therefore build any GraphQL server you like, following pretty much any tutorial out there, and it should work with apollo client. Even if the server is written in Scala, Python or whatever other language has a GraphQL server implementation

jbaxleyiii pushed a commit that referenced this issue Oct 17, 2017
Fix the wrong import for 'Kind' and add it to all code snippets #145
jbaxleyiii pushed a commit that referenced this issue Oct 18, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 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