diff --git a/x/schema/go.go b/x/schema/go.go index aa1dab59..b34e8b59 100644 --- a/x/schema/go.go +++ b/x/schema/go.go @@ -220,10 +220,6 @@ func FromGoReflect(xschema shape.Shape, yreflect reflect.Value) Schema { return FromGoReflect(y, yreflect) }, func(x *shape.PointerLike) Schema { - if yreflect.Kind() == reflect.Ptr { - yreflect = yreflect.Elem() - } - return FromGoReflect(x.Type, yreflect) }, func(x *shape.AliasLike) Schema {