I am migrating to GORM v2, and with deletion on Scope, I have run to this issue:
for _, field := range (&gorm.Scope{Value: object}).Fields()
w