diff --git a/package.json b/package.json index 90e999a..4f5cc88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "functional-models", - "version": "3.4.0", + "version": "3.4.1", "description": "Functional models is ooey gooey framework for building and using awesome models EVERYWHERE.", "main": "index.js", "types": "index.d.ts", diff --git a/src/lib.ts b/src/lib.ts index 2138862..f5e8abe 100644 --- a/src/lib.ts +++ b/src/lib.ts @@ -285,7 +285,7 @@ const createZodForProperty = case 'Array': return z.array(z.any()) case 'Object': - return z.object() + return z.object().loose() case 'Email': return z.email() case 'Text':