0.1.3 #4

Merged
Thilawyn merged 74 commits from next into master 2024-03-24 22:24:25 +01:00
Showing only changes of commit 0aa2e3fdf7 - Show all commits

View File

@@ -138,7 +138,11 @@ export const JsonifiedZodSchemaObject = <
} }
dejsonifyEffect(params?: Partial<z.ParseParams>) { dejsonifyEffect(params?: Partial<z.ParseParams>) {
return parseZodSchemaEffect(this.constructor.dejsonifySchema, this, params) return parseZodSchemaEffect(
this.constructor.of.pipeSchemaIntoInstance(this.constructor.dejsonifySchema),
this,
params,
)
} }
}) })
.build() .build()