From e278db3bcf80fa59ba76ec41811d056170d427ff Mon Sep 17 00:00:00 2001 From: gstvg <28798827+gstvg@users.noreply.github.com> Date: Thu, 31 May 2018 17:29:24 -0300 Subject: [PATCH] Update callback_query.go comments --- callback_query.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }