@@ -22,6 +22,7 @@ func preloadPrefix(obj any, fields rest.FieldList, q *gorm.DB, prefix string) (*
}
for _, name := range names {
if f, check := fields.Field(name.eName); check {
+ log.Println("preload", prefix+name.eName)
q = q.Preload(prefix + name.eName)
if f.IsObject() {
log.Println("is_object:" + prefix + name.eName)