[MDSAL-795] Implement BindingCodecContext.getSubtreeCodec(Absolute) Created: 25/Nov/22  Updated: 02/Jan/24

Status: In Progress
Project: mdsal
Component/s: Binding runtime
Affects Version/s: None
Fix Version/s: 11.0.16

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Matúš Matok
Resolution: Unresolved Votes: 0
Labels: pick-next, pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

BindingCodecTree has this neat method, but unfortunately it is not implemented. Implement it for the case of finding RpcInput and RpcOutput for a particular RPC and use it to cache codecs for both input and output.

Since we are dealing with type safety, we probably want to also expose specialized BindingDataObjectCodecTreeNode for both RpcInput and RpcOutput, so that we can type check returns.

Doing this should enable us to deprecate BindingNormalizedNodeSerializer.fromNormalizedNodeRpcData(), as that ends up being unused. If that is the case, also investigate toNormalizedNodeRpcData() callers to see if we can also migrate those – although that may end up being problematic.


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