The code was throwing an exception if a struct field was not present in a validation descriptor. This failed if a PowerSystems 1.x system was deserialized with 2.x code because some structs have new fields that were not part of the validation descriptor.
The code was throwing an exception if a struct field was not present in a validation descriptor. This failed if a PowerSystems 1.x system was deserialized with 2.x code because some structs have new fields that were not part of the validation descriptor.
Fixes https://github.com/NREL-SIIP/PowerSystems.jl/issues/974
We did validate that the patch fixes the original issue.