Max N.
10/14/2017, 10:30 PM{
query: "subscription watchPosts{Post(filter: {mutation_in: [CREATED, UPDATED, DELETED]}){updatedFields node{title}}}"
}
but this does not:
{
"variables": {
"filter": {
"mutation_in": [
"CREATED",
"UPDATED",
"DELETED"
]
}
},
"query": "subscription watchPosts($filter: PostSubscriptionFilter!){Post(filter: $filter){updatedFields node{title}}}"
}
Both return with an OK response but only the first one gets notified on changes.payload
content on a websocket body and that id
is set correctlyagartha
10/14/2017, 11:14 PMMax N.
10/14/2017, 11:25 PMgraphql-subscriptions
protocol vs. graphql-ws
. I am wondering if this is just with graph.cool. I will take a look at another serveragartha
10/15/2017, 12:49 AMnilan
10/15/2017, 8:43 AMagartha
10/15/2017, 10:00 AM