[YANGTOOLS-1231] A SchemaInferenceStack.enterDataTree() Created: 10/Feb/21 Updated: 11/Feb/21 Resolved: 11/Feb/21 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | model-util |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Get rid of SchemaNode.getPath() |
| Description |
|
So far SchemaInferenceStack only dealt with simple steps like grouping/schema tree. In order to make it more useful in data-centric world, it also needs to support going through data tree. While the enter/exit logic is very much similar to what schema tree does, the result is not exactly the same: toSchemaNodeIdentifier() needs to essentially double-check each statement to see if it needs actually multiple steps. |