Skip to content

Conversation

@dshahmoon-ms
Copy link
Contributor

The code allows to pass Activity ID as one of the attributes in instruments.

@dshahmoon-ms
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Microsoft"

@dshahmoon-ms
Copy link
Contributor Author

@sivadeilra could you please review?

@sivadeilra
Copy link
Contributor

Ahhh, sorry. This dropped off my radar.

Could you sync to latest and rebase? I'll get to this ASAP after that.

@dshahmoon-ms
Copy link
Contributor Author

@sivadeilra Done

}

#[cfg(feature = "uuid")]
impl From<&str> for GUID {
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be TryFrom. From is for conversions that cannot fail.

If you want to have const constructors for GUID, then we need a different way to handle that. But From impls are expected not to panic.

@sivadeilra
Copy link
Contributor

Hey, thanks for rebasing. The only thing I think needs to be fixed is for the From impl to become a TryFrom impl. I'll be happy to merge this tomorrow with that fixed.

@dshahmoon-ms
Copy link
Contributor Author

@sivadeilra Thank you, good call. Fixed it.

@dshahmoon-ms
Copy link
Contributor Author

@sivadeilra could you please review?

@sivadeilra sivadeilra merged commit 6b2a875 into microsoft:main Dec 18, 2025
5 checks passed
@sivadeilra
Copy link
Contributor

Sorry, I was out sick for about a week. Approved and merged. I'll get this published shortly.

@sivadeilra
Copy link
Contributor

Published updates. Thanks for the contribution!

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.

2 participants