enisdenjo / graphql-ws

Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
https://the-guild.dev/graphql/ws
MIT License
1.75k stars 162 forks source link

Fix close event code for BadGateway #512

Closed thumbsupep closed 1 year ago

thumbsupep commented 1 year ago

This corrects the close event code for BadGateway from 1013 to 1014 https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code#value

This error is considered non fatal and users should be able to retry.

relates to https://github.com/enisdenjo/graphql-ws/issues/510

enisdenjo commented 1 year ago

:tada: This PR is included in version 5.14.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: