-
Notifications
You must be signed in to change notification settings - Fork 99
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
upgrade_client: Make TYPE_URL
public
#588
upgrade_client: Make TYPE_URL
public
#588
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #588 +/- ##
=======================================
Coverage 72.85% 72.85%
=======================================
Files 126 126
Lines 15705 15705
=======================================
Hits 11442 11442
Misses 4263 4263
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Thanks for pointing out this discrepancy. Considering the existing Based on a previous review, it appears that |
@kevinji do you have a use case for needing the |
Nope I didn't know that |
👍🏻 |
Could you link to an example snippet where you need the |
It's essentially the same use case as #586 as I'm currently directly using match msg_envelope {
// ICS2 messages
MsgEnvelope::Client(ClientMsg::CreateClient(domain_msg)) => domain_msg.to_any(),
MsgEnvelope::Client(ClientMsg::UpdateClient(domain_msg)) => domain_msg.to_any(),
MsgEnvelope::Client(ClientMsg::UpgradeClient(domain_msg)) => {
domain_msg.to_any()
}
// ...
} I do plan to switch these to be backed by the raw types instead, per the discussions we've had, but for now I'm using |
Closes: #XXX
Description
This makes
upgrade_client::TYPE_URL
public to match the visibility of all otherTYPE_URL
constants, and makes it easier to access outside of the crate.PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.