[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: |
|
||||||||||||||||||||||||
| 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 |