Validation for SampledValue.Value in OCPP 2.0.1 was leading to errors for 0 values. This is not intended, since zero values are allowed.
Since go doesn't distinguish between zero and empty when parsing JSON into base types, this was fixed by removing the required validation tag from the field.
Validation for
SampledValue.Value
in OCPP 2.0.1 was leading to errors for0
values. This is not intended, since zero values are allowed.Since go doesn't distinguish between zero and empty when parsing JSON into base types, this was fixed by removing the
required
validation tag from the field.Closes #151, #157