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

[Breaking change] Add conversions from proto to core types #1950

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

pronebird
Copy link
Contributor

@pronebird pronebird commented Jan 17, 2025

  1. Add From conversions from proto to TunnelState
  2. Simplify types used in TunnelState by converting some of the nym types into String
  3. nym-lib-types: Add feature gate nym-type-conversions to remove dependendencies on nym crates when not needed.
  4. Drop some of the old types and return TunnelState from grpc which is a breaking change and it will break desktop apps.
  5. nym-vpnc: Leverage From conversions instead of working with raw grpc types when reporting vpn status.

This change is Reviewable

println!("{:#?}", response);
if response.status == nym_vpn_proto::ConnectionStatus::NotConnected as i32 {

let re = stream.message().await;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well that's a leftover to remove

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.

1 participant