rossvideo / Catena

Other
4 stars 0 forks source link

C++ SDK ParamAccessor has empty scope for double nested params #163

Closed johndanenRV closed 1 month ago

johndanenRV commented 1 month ago

When creating a param accessor for a double nested param, if only the top level struct has a scope defined then the scope_ value is set to an empty string.

Example (using device.one_of_everything.json):

ParamAccessor param("/outer_nested_struct/inner_nested_struct/num_2");

creates a param accessor for num_2 with an empty scope.