Do not use SchemaNode in yang-data
(YANGTOOLS-1244)
|
|
| Status: | Confirmed |
| Project: | yangtools |
| Component/s: | data-impl, data-util |
| Affects Version/s: | None |
| Fix Version/s: | 14.0.0 |
| Type: | Sub-task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The implementation for simple codecs lives in yang-data-impl as TypeDefinitionAwareCodec. This is a misnomer, as this only handles simple codecs – not identity-ref, nor instance-identifier. Reimplement the equivalent functionality as SimpleValueCodec in yang.data.util.codec, which will not be handling unions. It should also operate on yang.data.api.type.NormalizedType instead of on TypeDefinition. |