Closed qbx2 closed 2 years ago
May I submit a PR?
I think that I should not have added if (!config.autoReconnect)
because of https://github.com/zino-hofmann/graphql-flutter/pull/1186/files#diff-c0e52f76bbabe11b61f02c62cfe93beb8d140080cf59cc24c6bf2a91b8487108R422 . However, without this, that's a breaking change.
Do you look inside it?
and I'm not scared of breaking change, I'm scared from bugs!
N.B: We do not have breaking change inside the library and the workflow, please read this https://github.com/zino-hofmann/graphql-flutter/blob/main/docs/dev/MAINTAINERS.md#types
The general rules is you can keep an old and new one use the deprecated flag and start the remove live cycle, if you can not keep the behaviours put a remove
prefix in the commit, and remove the bug from the library.
We have a very long beta process to find as much bug we can in beta to put a clean code in production.
Hello. I want to display connection status to the graphql server. I created WebSocketLink with
autoReconnect: false
as following because I want to display red circle on disconnected/connecting state. I had no luck to get any control when SocketException is raised (I start the app without letting server up, or take server down after the app started)Expected behavior
onError
, or at leastonDone
must be called. I've inspectedwebsocket_client.dart
code, but it seems not to have any code to close all streams inonConnectionLost()
.device / execution context macos 12.4