You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will be a breaking change because there might be consumers who need to update error handling to prevent a change in behavior for the 1014 close code.
I would love to contribute this change, but could only find documentation on opening an issue, not creating a PR.
The text was updated successfully, but these errors were encountered:
graphql-ws/src/client.ts
Lines 1082 to 1097 in 4f4ac19
Expected Behaviour
1014
is used for Bad Gateway so that Bad Gateway is not treated as a fatal error.Actual Behaviour
1013
is considered bothTry Again Later
andBad Gateway
so Bad Gateway errors are incorrectly classified as fatal.Further Information
Websocket connection close code for Bad Gateway should be
1014
https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code#valueThis will be a breaking change because there might be consumers who need to update error handling to prevent a change in behavior for the
1014
close code.I would love to contribute this change, but could only find documentation on opening an issue, not creating a PR.
The text was updated successfully, but these errors were encountered: