Open Jayphen opened 6 years ago
+1
This would be very helpful. There also may be a bug where the Mutation component fails to receive any data from the server as per my issue.
Hi @Jayphen thanks for your feedback. I will add this into our backlog
@Jayphen did u find solution.
@elorzafe @Jayphen I'm curious about this as well. As a newbie to appsync, graphql, and apollo I'm having a hard time figuring out what patterns I should be using such as Query component vs graphql HOC and how those interact with the amplify generated queries.
It would be great if the docs could be updated with examples on how to use the Query, Subscription & Mutation components that were introduced back in Apollo 2.1 and are now recommended by Apollo documentation (https://www.apollographql.com/docs/react/essentials/queries.html#basic)
I'm particularly interested in knowing if/how the
graphqlMutation
andbuildSubscription
helpers can be used with these Apollo components.