csaf_distribution icon indicating copy to clipboard operation
csaf_distribution copied to clipboard

Breaking change: Use consistent ID naming

Open koplas opened this issue 8 months ago • 1 comments

Currently, there are some linter warnings about the naming of struct fields:

csaf/advisory.go:449:2: struct field ProductIds should be ProductIDs
csaf/advisory.go:612:2: struct field GroupIds should be GroupIDs
csaf/advisory.go:613:2: struct field ProductIds should be ProductIDs
csaf/advisory.go:744:2: struct field GroupIds should be GroupIDs
csaf/advisory.go:745:2: struct field ProductIds should be ProductIDs

Changing the names will result in a breaking change.

koplas avatar Mar 17 '25 14:03 koplas

Changing the name to break the API does not seem worth a new major, so what about silencing the warnings until we do a major version?

bernhardreiter avatar Mar 26 '25 09:03 bernhardreiter