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

fix: change filter request default behaviour to subscriber-ping #1721

Merged
merged 1 commit into from
May 9, 2023

Conversation

jm-clius
Copy link
Contributor

@jm-clius jm-clius commented May 8, 2023

Instead of raising a decoding error, the filter protocol should assume SUBSCRIBER_PING as the default request type if the corresponding field is not set. This also matches proto3 requirements for enums to have a 0 value, which do not need to be serialised: https://protobuf.dev/programming-guides/proto3/#default

cc @danisharora099

@jm-clius jm-clius merged commit 7c39be9 into master May 9, 2023
@jm-clius jm-clius deleted the fix/filter-ping-default branch May 9, 2023 07:18
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.

3 participants