We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b63ba07 commit f2c94d6Copy full SHA for f2c94d6
pkg/util/validation/field/errors.go
@@ -44,6 +44,9 @@ type Error struct {
44
// - A structured format using "format=<dash-style-identifier>" for validation errors related to specific formats
45
// (e.g., "format=dns-label", "format=qualified-name")
46
//
47
+ // If the Origin corresponds to an existing declarative validation tag or JSON Schema keyword,
48
+ // use that same name for consistency.
49
+ //
50
// Origin should be set in the most deeply nested validation function that
51
// can still identify the unique source of the error.
52
Origin string
0 commit comments