Skip to content

Make Socket.request writable to allow setting it to null as suggested in the documentation - #697

Merged
darrachequesne merged 1 commit into
socketio:mainfrom
jonathanperret:fix-readonly-request
Feb 23, 2024
Merged

Make Socket.request writable to allow setting it to null as suggested in the documentation#697
darrachequesne merged 1 commit into
socketio:mainfrom
jonathanperret:fix-readonly-request

Conversation

@jonathanperret

Copy link
Copy Markdown
Contributor

Fixes #696.

I would have added a test that confirms the issue is fixed, but since this is a TypeScript-only issue and the tests are not yet converted to TypeScript it seems difficult.

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

@darrachequesne
darrachequesne merged commit 0efa04b into socketio:main Feb 23, 2024
@darrachequesne

Copy link
Copy Markdown
Member

@jonathanperret thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot set socket.request to null because the property is read-only

2 participants