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

docs(protocol): clarify id field is not optional #523

Merged
merged 3 commits into from
Nov 29, 2023

Conversation

roksui
Copy link
Contributor

@roksui roksui commented Nov 29, 2023

This PR aims to clarify the section of the protocol which states that the id field is optional even though this field is either required or not present as per the type definitions. (Also discussed in #340)

At first, I wanted to mention specifically that Subscribe, Next, Error, and Complete message types needs to have the id field. However, the sentence that needs to be clarified is in the "Communication" section which comes before the explanation of the message types. So, I used the term "Messages corresponding to operations" to refer to those message types.

Though, I am not sure if this sentence sounds clear enough. I am happy to accept any improvements for wording.

PROTOCOL.md Outdated Show resolved Hide resolved
PROTOCOL.md Outdated Show resolved Hide resolved
roksui and others added 2 commits November 30, 2023 00:10
Co-authored-by: Denis Badurina <badurinadenis@gmail.com>
Co-authored-by: Denis Badurina <badurinadenis@gmail.com>
@enisdenjo enisdenjo merged commit 12f7376 into enisdenjo:master Nov 29, 2023
11 of 12 checks passed
@enisdenjo
Copy link
Owner

Thank you very much!

@roksui roksui deleted the protocol branch November 29, 2023 15:27
@roksui
Copy link
Contributor Author

roksui commented Nov 29, 2023

@enisdenjo Thank you! Should I be concerned about the failing check for this PR?

@enisdenjo
Copy link
Owner

Nope, it's just Deno acting up (it happens from time to time). 😅

@enisdenjo
Copy link
Owner

🎉 This PR is included in version 5.14.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@enisdenjo enisdenjo added the released Has been released and published label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Has been released and published
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants