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
Conventionally you'd always specify the two. Also, you I want the users to always be clear and explicit about their closes. However, I have no hard reason to keep the two required - would you be interested in opening a PR? 😄
# [5.16.0](v5.15.0...v5.16.0) (2024-03-27)
### Bug Fixes
* **server:** Return all subscriptions regardless of the return invocation order ([f442288](f442288))
* **server:** should not send error messages if socket closes before onSubscribe hooks resolves ([db47a66](db47a66)), closes [#539](#539)
### Features
* **server:** Close code and reason are optional ([6ae6e6f](6ae6e6f)), closes [#547](#547)
Small thing, but
graphql-ws/src/server.ts
Line 420 in 6013eb5
requires a
code
andreason
, while the specs say that the status code is optional ("MAY indicate a reason").The text was updated successfully, but these errors were encountered: