Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features spec: only emit a leave if there was an existing matching member #222

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

SimonWoolf
Copy link
Member

@SimonWoolf SimonWoolf commented Nov 13, 2024

per #211

The actual behaviour change here is small (only whether non-sync leaves where there is no matching member currently present should emit a leave event), but I found the current structure of this spec section a bit confusing (why are broadcast and members-map add/remove requirements defined separately, despite having the same requirements?), so ended up rewriting it. (Without deprecating the old spec items since this isn't actually a behaviour change except in that one case)

change was discussed and agreed at the 2024-11-13 RTF

@SimonWoolf SimonWoolf requested review from ttypic and sacOO7 November 13, 2024 19:23
SimonWoolf added a commit to ably/ably-js that referenced this pull request Nov 13, 2024
SimonWoolf added a commit to ably/ably-js that referenced this pull request Nov 13, 2024
SimonWoolf added a commit to ably/ably-js that referenced this pull request Nov 13, 2024
SimonWoolf added a commit to ably/ably-js that referenced this pull request Nov 13, 2024
textile/features.textile Outdated Show resolved Hide resolved
textile/features.textile Show resolved Hide resolved
textile/features.textile Outdated Show resolved Hide resolved
textile/features.textile Show resolved Hide resolved
Copy link
Collaborator

@sacOO7 sacOO7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Btw, is this urgently needs to be implemented across all SDKs?

@SimonWoolf
Copy link
Member Author

Btw, is this urgently needs to be implemented across all SDKs?

It's not that urgent, no. Lower priority than the new field names.

But it's a pretty small change, so probably worth chucking in the next time someone's making any changes?

…ng member

per #211

The actual behaviour change here is small (only whether non-sync leaves
where there is no matching member currently present should emit a leave
event), but I found the current structure of this spec section quite
confusing (why are broadcast and members-map add/remove requirements
defined separately, despite having the same requirements?), so ended up
rewriting it. (Without deprecating the old spec items since this isn't
actually a behaviour change except in that one case)
@SimonWoolf SimonWoolf merged commit cc6c60f into main Dec 5, 2024
2 checks passed
@SimonWoolf SimonWoolf deleted the presence-leave branch December 5, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants