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

Actually wire up writing v1.5 #722

Merged
merged 1 commit into from
Jun 2, 2024
Merged

Conversation

Shnatsel
Copy link
Contributor

@Shnatsel Shnatsel commented Jun 2, 2024

Right now it would just panic.

This wasn't caught statically because of a confluence of two things:

  1. Non-exhaustive enum for the specification version requiring the _ arm
  2. The APIs using version strings instead of accepting an enum with the version

Both are bad API design and we should fix that eventually.

@Shnatsel Shnatsel requested a review from a team as a code owner June 2, 2024 14:55
Signed-off-by: Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
@Shnatsel Shnatsel merged commit 1a2ab63 into CycloneDX:main Jun 2, 2024
14 checks passed
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