Do not use SchemaNode in yang-data (YANGTOOLS-1244)

[YANGTOOLS-1530] Extract yang.data.impl.codec to yang-data-util Created: 24/Jul/23  Updated: 21/Dec/23

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.


Generated at Wed Feb 07 20:56:25 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.