|
|
@ -881,9 +881,11 @@ func (u *Unmarshaler) unmarshalWithFullName(m valuerWithParent, v any, fullName
|
|
|
|
typeField := baseType.Field(i)
|
|
|
|
typeField := baseType.Field(i)
|
|
|
|
valueField := valElem.Field(i)
|
|
|
|
valueField := valElem.Field(i)
|
|
|
|
if err := u.processField(typeField, valueField, m, fullName); err != nil {
|
|
|
|
if err := u.processField(typeField, valueField, m, fullName); err != nil {
|
|
|
|
if fullName != "" {
|
|
|
|
if len(fullName) > 0 {
|
|
|
|
err = fmt.Errorf("%s, fullName :%s, typeField :%s, valueField :%s", err.Error(), fullName, typeField.Name, valueField.Type())
|
|
|
|
err = fmt.Errorf("%w, fullName: %s, field: %s, type: %s",
|
|
|
|
|
|
|
|
err, fullName, typeField.Name, valueField.Type().Name())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return err
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|