0.1.3 #4
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user