Commit fc7de07
committed
Prevented created of duplicate children
If the `ITopicMappingService` returns an existing obect (e.g., if the object is cached, or if the mapping service followed relationships) then adding children could result in duplicates. This is a _bit_ of a leaky abstraction since implementers shouldn't need to be aware of whether the `ITopicMappingService` is caching. That said, this is a bit of an edge case since typically the `ITopicMappingService` adds children, so the extra level of caution is warranted regardless.1 parent 65680ef commit fc7de07
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
0 commit comments