diff --git a/callback_query.go b/callback_query.go index 7038e8f4..593e5d30 100644 --- a/callback_query.go +++ b/callback_query.go @@ -18,7 +18,8 @@ func queryCallback(scope *Scope) { if _, skip := scope.InstanceGet("gorm:skip_query_callback"); skip { return } - + + //we are only preloading relations, dont touch base model if _, skip := scope.InstanceGet("gorm:only_preload"); skip { return }