[MDSAL-725] BindingDataObjectCodecTreeNode.streamChild() does not support Choices Created: 21/Feb/22  Updated: 15/Jan/24

Status: Confirmed
Project: mdsal
Component/s: Binding runtime
Affects Version/s: None
Fix Version/s: 14.0.0

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


 Description   

We have a type safety issue in BindingDataObjectCodecTreeNode, where we incorrectly capture choice/case child relationships, harking back to the days before MDSAL-45, which introduced ChoiceIn marker interface.

The workaround is to go through intermediate raw BindingDataObjectCodecTreeNode, where the DataObject requirement is squashed down.

What we really need to do is separate these constructs, so that have an explicit intermediate BindingChoiceInCodecTreeNode and/or allow performing an immediate step across child nodes.

 

 


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