dgraphql icon indicating copy to clipboard operation
dgraphql copied to clipboard

Create example demonstrating integration with Apollo client

Open loganpowell opened this issue 8 years ago • 2 comments

loganpowell avatar Jun 13 '17 12:06 loganpowell

It should be, I've only tested with relay modern so far, but given Apollo is supposed to work with any GraphQL compliant server it should Just Work TM. I'm planning on adding a Relay example at some point, will use this issue to track creating an Apollo example as well.

dpeek avatar Jun 13 '17 15:06 dpeek

@dpeek Hi! There is some news with Apollo?

I'm studing JS, GraphQL with this project https://github.com/sysgears/apollo-universal-starter-kit

They have very good aproaches like to separate all GraphQL's logic in modules. They use apollo-server-express. So I'm wondering how to implement Dgraph within this project.

My approach would be more "Raw". I was planning to do loops and other nonsense to use the DGraph idea. Connect the data through the POST by organizing in the Resolvers.

The way your project presents is much more elegant and seems to be simpler and more direct. The problem is that I do not understand how to make it work with Apollo yet. Anyway, I met your project today. But as I found this issue on Apollo I thought I should comment.

MichelDiz avatar Sep 23 '17 01:09 MichelDiz