Skip to content

Fix API requiring non-exhaustive matching that led to bugs#725

Merged
Shnatsel merged 5 commits intoCycloneDX:mainfrom
Shnatsel:fix-api
Jun 4, 2024
Merged

Fix API requiring non-exhaustive matching that led to bugs#725
Shnatsel merged 5 commits intoCycloneDX:mainfrom
Shnatsel:fix-api

Conversation

@Shnatsel
Copy link
Contributor

@Shnatsel Shnatsel commented Jun 3, 2024

Fix clunky API that led to #722 so that it never happens again

In the long run we'll want to remove #[non_exhaustive] from SpecVersion, but that's a semver-breaking change.

@Shnatsel Shnatsel requested a review from lfrancke June 3, 2024 14:48
@Shnatsel Shnatsel requested a review from a team as a code owner June 3, 2024 14:48
Shnatsel added 3 commits June 3, 2024 15:49
… matching

Signed-off-by: Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
Signed-off-by: Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
Signed-off-by: Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
Shnatsel added 2 commits June 3, 2024 15:55
Signed-off-by: Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
Signed-off-by: Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
@Shnatsel Shnatsel merged commit 44ddc74 into CycloneDX:main Jun 4, 2024
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