graphql-typed-client
graphql-typed-client copied to clipboard
graphql subscription is not working
i have deployed my hasura app on hasura-cloud, and trying to call a subscription using the generated typed client, but somehow there is no log for the subscription on the client.

this is my query in graphql console, working fine, but requesting through a chained query is not really working
app.listen(PORT, () => {
console.log('Server is listening on port :', PORT)
console.log('adding subscriptions');
graphqlClient.chain.subscription.users().execute({email:1,id:1,created_at:1}).subscribe((data)=>{
console.log('subscription users->', data);
})
})