[MDSAL-695] Do not use AugmentationSchemaNode.getOriginalDefinition() Created: 15/Oct/21  Updated: 08/Mar/22  Resolved: 08/Mar/22

Status: Resolved
Project: mdsal
Component/s: Binding runtime
Affects Version/s: None
Fix Version/s: 9.0.0

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Duplicate Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks YANGTOOLS-1379 Remove AugmentationSchemaNode.getOrig... Resolved
Duplicate
duplicates MDSAL-696 Do not use DerivableSchemaNode Resolved
Relates
relates to MDSAL-696 Do not use DerivableSchemaNode Resolved
Epic Link: Binding Damage

 Description   

AbstractBindingRuntimeContext is using getOriginalDefinition() to then lookup a schema. This is a bit weird, but at any rate we should get the required mapping knowledge from mdsal-binding-generator when it instantiates BindingRuntimeTypes.

Update GeneratorReactor to give us a lookup table, which will contain the direct results (for augmentations which actually have an original, i.e. the map should not cover all augmentations) and use that knowledge.



 Comments   
Comment by Robert Varga [ 08/Mar/22 ]

Resolved with MDSAL-696

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