oliyh / re-graph

A graphql client for clojurescript and clojure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I use this with AppSync?

MageMasher opened this issue · comments

I believe what AWS AppSync does is provide an Apollo compliant client, I'd love to wrap that with re-graph but I didn't see any obvious place to add that in. Am I correct in thinking that this replaces Apollo and thus I would have to write the code to get information from the AppSync sdk?

Really cool library, Id love to add this feature if you can point me in the right direction!

Hi @MageMasher,

I'm not entirely sure what AppSync is, it sounds like a GraphQL server and some client code that talks to it?

re-graph is an alternative to Apollo rather than a wrapper over it. I can't really see how you would integrate it with AppSync unless you were willing to throw away the client code that AWS provide and write the functionality yourself, using re-graph to talk to the server. I'm interested to know more though as this is based on my possibly incorrect understanding of what AppSync actually provides for you on the client side.