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

Add support for the ExternalReferences field in components #19

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

mykter
Copy link

@mykter mykter commented Oct 26, 2023

The API includes an externalReferences field in components, but this is currently ignore by the Go client. This PR adds the field to the type, so it will be captured when deserialised.

I suggest hiding whitespace when reviewing.

Tested by using the forked version - all of the fields get correctly populated.

@mykter mykter requested a review from nscuro as a code owner October 26, 2023 09:05
@mykter mykter force-pushed the component-external-references branch from 64dff39 to 146b70d Compare October 26, 2023 09:08
Signed-off-by: Michael Macnair <michaelmacnair@monzo.com>
@mykter mykter force-pushed the component-external-references branch from 146b70d to 96444d1 Compare October 26, 2023 09:18
Copy link
Member

@nscuro nscuro left a comment

Choose a reason for hiding this comment

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

Thanks @mykter!

@nscuro nscuro merged commit 4729b5e into DependencyTrack:main Nov 9, 2023
4 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.

None yet

2 participants