[YANGTOOLS-1400] AugmentEffectiveStatement should be SchemaTreeAwareEffectiveStatement Created: 16/Feb/22 Updated: 08/Mar/22 Resolved: 08/Mar/22 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | model-api, model-ri |
| Affects Version/s: | None |
| Fix Version/s: | 8.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 | ||
| Description |
|
Downstream experience with designing support classes for various transformations, most notably with MD-SAL's binding generator, shows a gap in AugmentEffectiveStatement. It is the only EffectiveStatement which can hold SchemaTreeEffectiveStatements, but does not expose that fact as a trait. Update the design to be keyed off of SchemaTreeAwareEffectiveStatement, so that this trait can be used downstream – for example for generic argument bounds. |