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

chore: allow turning a normalized string into a string #707

Merged
merged 1 commit into from
May 16, 2024

Conversation

ctron
Copy link
Contributor

@ctron ctron commented May 16, 2024

Having a NormalizedString and wanting to consume it as a String isn't possible right now without cloning the String. I think this is not necessary. This PR adds a way to turn it back into a String.

Signed-off-by: Jens Reimann <ctron@dentrassi.de>
@ctron ctron requested a review from a team as a code owner May 16, 2024 08:14
Copy link
Contributor

@lfrancke lfrancke left a comment

Choose a reason for hiding this comment

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

That looks sane to me but I'm a bit out of touch.
I'll let it here for the others to look at for a day or two but if I don't hear anything else I can merge it later.

Thank you!

@Shnatsel Shnatsel merged commit 6a7b726 into CycloneDX:main May 16, 2024
9 checks passed
@ctron ctron deleted the feature/into_1 branch May 17, 2024 06:16
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