-
Notifications
You must be signed in to change notification settings - Fork 376
Open
Labels
Milestone
Description
Out of habit, my embedded structs have always been pointers. Something like:
type WithEmbeddedStructPtr struct {
Id int64
*Names
}Would it be possible to support them? I see readStructColumns explicitly checks if the anonymous field is a struct, and not the possibility of a reflect.Ptr to a struct. I tried to add it quickly myself but then it broke in get and I had no idea what was going on in there.
I'm not sure if this is possible or if it is worth adding. Thoughts?