Flatmerge clobbers metadata.component when the new metadata is initiated and the only sub-element that persists is metadata.tool.
|
result.Metadata = new Metadata |
If you can advise on how this should be handled, I'm happy to create a pull request with the change. Possibly, convert metadata.component to a List and then merge like metadata.tool?
This bug is linked to the following issues
#CycloneDX/cyclonedx-cli#218
#CycloneDX/cyclonedx-cli#219
Flatmerge clobbers metadata.component when the new metadata is initiated and the only sub-element that persists is metadata.tool.
cyclonedx-dotnet-library/src/CycloneDX.Utils/Merge.cs
Line 62 in b5fbaf6
If you can advise on how this should be handled, I'm happy to create a pull request with the change. Possibly, convert metadata.component to a List and then merge like metadata.tool?
This bug is linked to the following issues
#CycloneDX/cyclonedx-cli#218
#CycloneDX/cyclonedx-cli#219