graphql-client
graphql-client copied to clipboard
Subscription: where can I find any example?
Is there any simple example: Server and Client? To see how to use the subscriptions
👍 For a working example using AppSync subscriptions. @Oleg26Dev Did you end up finding anything?
Have tested multiple combinations in different versions as much as I can with zero success. Query and Mutation operations work perfectly fine - the websocket stuff falls over (sometimes silently) 100% of the time. Cross checked this with AppSync Console and Altair - both work fine with minimum configurations (i.e. choose AppSync endpoint and auth type).
Basic examples consisting of a server and a client can be found in the integration tests.
I'm using this library with full websocket transport (queries, mutations, subscriptions) against a dotnet-graphql server in production and it works like a charm.
@menkari Please create an issue for your case and post some code on how you're using this library. Maybe we can solve your problem and generate an "AppSync example" from it.