Describe the bug
Goverter hangs on following input
To Reproduce
// goverter:converter
type Converter interface {
Convert(source ShopDto) ShopModel
}
type ShopDto struct {
Name string
Owner *PersonDto
}
type ShopModel struct {
Name string
Owner *PersonModel
}
type PersonDto struct {
Name string
Friends []PersonDto
}
type PersonModel struct {
Name string
Friends []PersonModel
}
// or
type PersonDto struct {
Name string
Friends *[]PersonDto
}
type PersonModel struct {
Name string
Friends *[]PersonModel
}
workaround is to add typ converter signature for persondto -> personmodel to converter interface
Describe the bug Goverter hangs on following input
To Reproduce
workaround is to add typ converter signature for persondto -> personmodel to converter interface