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

[YANGTOOLS-1245] Do not use DataSchemaNode in Anydata normalization Created: 14/Feb/21  Updated: 10/Apr/22  Resolved: 14/Feb/21

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0

Type: Sub-task 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

Issue Links:
Blocks
blocks YANGTOOLS-1233 Maintain a SchemaInferenceStack in Sc... Resolved

 Description   

NormalizedAnydata and NormalizableAnydata rely on DataSchemaNode to provide enough context to decode the data. This is made with the implicit assumption that DataSchemaNode.getPath() provides the context needed to perform things like leafref resolution.

We have a better replacement in EffectiveStatementInference, which combines an EffectiveModelContext with an ordered list of EffectiveStatements – providing a simple-to-use alternative.


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