Skip to content

Actually wire up writing v1.5#722

Merged
Shnatsel merged 1 commit intoCycloneDX:mainfrom
Shnatsel:1.5-for-realsies
Jun 2, 2024
Merged

Actually wire up writing v1.5#722
Shnatsel merged 1 commit intoCycloneDX:mainfrom
Shnatsel:1.5-for-realsies

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>
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