Commit f7b276f
authored
Always check for globally excluded fields (#3150)
When deciding whether a field is excluded in the work item validation,
check both the list of excluded fields specific to the work item type,
and the list from the `AllWorkItemTypes` (`*`) section that should apply
to all work item types.
Previously, if the work item type had its own list of excluded fields,
the global list of excluded fields was not checked anymore, requiring
duplication in the configuration.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Refactor**
* Internal code structure improvements with no user-visible changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 file changed
Lines changed: 6 additions & 4 deletions
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
105 | 106 | | |
106 | | - | |
| 107 | + | |
107 | 108 | | |
108 | | - | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | | - | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
0 commit comments