The generated 'Validation' column end up with duplicated values for fields having multiple "required" markers flavors

Open Beginner friendly
#204 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
go
Domain
documentation

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.

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).

Dominant language
Go
Stars
173
Forks
81
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from elastic/crd-ref-docs

All issues in elastic/crd-ref-docs

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.