Commit 49bb3ef
committed
Relay optional
With #2bf635e, we (re)introduced the `attributePrefix` parameter to the `ValidateModel()` method. Since `ValidateModel()` crawls the entire model's object graph, it is capable of detecting the `[AttributePrefix()]` attribute, and relaying the value to nested `ValidateModel()` calls. That said, technically, it is possible for a caller of the `IReverseTopicMappingService` to relay their own `AttributePrefix`, even if it's not otherwise defined on the model itself. To ensure that scenario is also tested, the `attributePrefix` parameter is being relayed to the `ValidateModel()` method.attributePrefix to ValidateModel()
1 parent 2bf635e commit 49bb3ef
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
0 commit comments