diff --git a/scope.go b/scope.go index 7d6ba1c0..ba93182e 100644 --- a/scope.go +++ b/scope.go @@ -112,6 +112,9 @@ func (scope *Scope) Fields() []*Field { ) for _, structField := range scope.GetModelStruct().StructFields { + if structField.IsIgnored { + continue + } if isStruct { fieldValue := indirectScopeValue for _, name := range structField.Names {