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

Change visibility of model types #758

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

justahero
Copy link
Contributor

Instead of setting the visibility of model types to the crate level, types are public now. When building the BOM some of the models were not able to be constructed. With the change inner BOM model types can now be constructed / used by external crates directly.

Instead of only adapting the Cpe type (as given in issue #739) all types in the /models folder are public now, including their associated validation functions.

Closes #739

Instead of setting the visibility of model types to the crate level,
these types are public now. The model types can be used by external
crates directly.

* fix clippy lints

Signed-off-by: Sebastian Ziebell <[email protected]>
@justahero justahero requested a review from a team as a code owner August 6, 2024 09:57
@Shnatsel Shnatsel merged commit e26d8db into CycloneDX:main Aug 6, 2024
13 checks passed
@ModestMannfred
Copy link

Awesome! Thank you!

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.

cyclonedx_bom: make Cpe constructable
3 participants