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

Add gateway_info_v2, gateway_info_stream_req_v2, gateway_metadata_v2 #432

Merged
merged 6 commits into from
Dec 5, 2024

Conversation

kurotych
Copy link
Member

@kurotych kurotych commented Nov 22, 2024

Since changes in gateway info response (#429, #430) breaks backward compatibility (due to signing message from server side and verifying on client):

  • revert (v1) changes
  • make v2 version
  • make v1 version deprecated

@kurotych kurotych marked this pull request as ready for review November 22, 2024 13:51
@kurotych kurotych requested a review from bbalser November 22, 2024 13:52
@@ -43,6 +43,13 @@ message cbrs_radio_deployment_info {
}

message gateway_metadata {
option deprecated = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

i've only ever tried to deprecate fields with this notation, not entire messages but in those cases rust/prost seems to be unable to handle the message being deprecated and omitted without throwing missing field warnings. hopefully it's easier when the whole message is flagged

Copy link
Member Author

Choose a reason for hiding this comment

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

Honestly, I’ve never thought about how Rust/Prost handles this deprecation, but I didn’t see any related warnings while working on this PR.

@kurotych kurotych merged commit 8e3edc2 into master Dec 5, 2024
7 checks passed
@kurotych kurotych deleted the GatewayInfov2 branch December 5, 2024 13:42
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