parse-community / parse-community/parse-server

Add client socket ID to LiveQuery 'ws_disconnect' event

Open
#7,998 1 comment 0 reactions 0 assignees View on GitHub

@krtooch is already working on this.

Since May 12, 2022.

  • #7999 by @krtooch — open
type:feature
Dominant language
JavaScript
Stars
21.4k
Forks
4.8k
Avg merge
7h 45m
Merged PRs (30d)
11

Description

Add client ID on ParseLiveQuery 'ws_disconnect' event
Current Limitation

In order to create a Online/offline functionality with ParseLiveQuery socket protocol, i'd like to add client's socket Id to 'ws_disconnect' event, in order to know which socket is disconnecting.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the ParseLiveQuery socket protocol implementation for the ws_disconnect event. Review linked pull request #7999 and its changes first; the work is complete when the event identifies which client socket disconnected and the relevant tests cover that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.