elastic / elastic/crd-ref-docs
The generated 'Validation' column end up with duplicated values for fields having multiple "required" markers flavors
Open
Beginner friendly
- Dominant language
- Go
- Stars
- 173
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
A Go type having both `+required` and `+kubebuilder:validation:Required` results with having duplicate value (`Required: \{\}`) in `Validation` column.
Please consider folding duplicate values in Validation column so there are unique values (set).
Contributor guide
Research direction
Start by reproducing the issue with a Go type containing both +required and +kubebuilder:validation:Required, then trace how the generated Validation column collects values. Confirm that the output contains one unique Required: {} entry rather than duplicates; no file or test path is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100