Commit f7be064
committed
markers/OneOf: make order deterministic relative to XValidation
Currently, if both XValidation and AtMostOneOf/ExactlyOneOf constraints
are specified, the ordering of CEL rules can change due to both
sets of markers have the same apply priority. This change ensures that
OneOf markers always run **after** XValidation markers.1 parent 8d11ce7 commit f7be064
File tree
3 files changed
+13
-0
lines changed- pkg/crd
- markers
- testdata
- oneof
3 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
675 | 680 | | |
676 | 681 | | |
677 | 682 | | |
| |||
684 | 689 | | |
685 | 690 | | |
686 | 691 | | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
687 | 697 | | |
688 | 698 | | |
689 | 699 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
0 commit comments