fix: applyconfiguration-gen fails on map to struct fields
This commit is contained in:
parent
03b78f3a15
commit
2b70384d4c
@ -86,6 +86,7 @@ func (t refGraph) applyConfigForType(field *types.Type) *types.Type {
|
|||||||
return &types.Type{
|
return &types.Type{
|
||||||
Kind: types.Map,
|
Kind: types.Map,
|
||||||
Elem: t.applyConfigForType(field.Elem),
|
Elem: t.applyConfigForType(field.Elem),
|
||||||
|
Key: t.applyConfigForType(field.Key),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return field
|
return field
|
||||||
|
Loading…
Reference in New Issue
Block a user