COVESA / vss-tools

Software for working with VSS (https://github.com/COVESA/vehicle_signal_specification)
Mozilla Public License 2.0
55 stars 56 forks source link

Supporting arrays of struct #282

Closed erikbosch closed 1 year ago

erikbosch commented 1 year ago

One issue were detected by Danial Alvarez - that arrays of structs were not correctly supported. It also lead to detection of another issue, that we cannot handle a struct as root. We require root to be a branch, and we also require at most one root. So this PR add support for arrays of structs and gives an error if struct is root

See also https://github.com/COVESA/vss-tools/pull/269#issuecomment-1550945214