diff --git a/src/index.ts b/src/index.ts index 3d886bf..f5444ea 100644 --- a/src/index.ts +++ b/src/index.ts @@ -114,12 +114,6 @@ export const schema = >( }) return new Proxy(target, { - get(target, prop, receiver) { - const value = Reflect.get(target, prop, receiver) - return isObject(value) - ? createProxy(value, parentPath.concat(prop)) - : value - }, set(target, prop, value, receiver) { const originalObject = schemaMeta.get(zodSchema)! .initialState as z.infer