Fix for bug226.
Add struct fieldName to groupKey to have a unique groupKey for each field object.
This commit is contained in:
parent
c7962aba71
commit
14bd3b6c3b
2 changed files with 93 additions and 19 deletions
|
|
@ -238,7 +238,7 @@ func mapRowToStruct(
|
|||
|
||||
if fieldMap.complexType {
|
||||
var changed bool
|
||||
changed, err = mapRowToDestinationValue(scanContext, groupKey, fieldValue, &field)
|
||||
changed, err = mapRowToDestinationValue(scanContext, concat(groupKey, ":", field.Name), fieldValue, &field)
|
||||
|
||||
if err != nil {
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue