diff --git a/lib/generic/generic.go b/lib/generic/generic.go index 044ffb9..ba8cb24 100644 --- a/lib/generic/generic.go +++ b/lib/generic/generic.go @@ -76,10 +76,10 @@ func (v Value) IsNil() bool { } func (v Value) direct() any { - ref := reflect.ValueOf(v.Input) if v.Input == nil { - return "" + return nil } + ref := reflect.ValueOf(v.Input) if !ref.IsValid() { return nil }