[MDSAL-604] QueryResult should include InstanceIdentifier Created: 21/Oct/20 Updated: 26/Oct/20 Resolved: 26/Oct/20 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | Binding API |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.15, 7.0.2, 6.0.8 |
| Type: | Bug | Priority: | High |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Searchable MD-SAL |
| Description |
|
QueryResult loses identity of the returned objects, which is troublesome for nested results. It needs to be updated to return not directly DataObjects. We could use Entry<>, but then we might want to tack additional data on top of this... so let's go with an explicit interface.
|
| Comments |
| Comment by Robert Varga [ 23/Oct/20 ] |
|
As it turns out this is just a mismatch between DOM/Binding interfaces – DOM interfaces already return YangInstanceIdentifer. The update turns out to be a very simple introduction of a DTO. |