Fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Julien Valverdé
2024-03-17 16:40:40 +01:00
parent af00628434
commit 2772be0be9

View File

@@ -24,7 +24,7 @@ export const ZodSchemaObject = <
static readonly schema = stripZodObjectDefaults(schemaWithDefaults)
static readonly schemaWithDefaults = schemaWithDefaults
static pipeSchemaToInstance<
static pipeSchemaIntoInstance<
Instance extends Values,
SchemaT extends z.ZodRawShape,
@@ -50,7 +50,7 @@ export const ZodSchemaObject = <
...[values, params]: CreateArgs<PartialValues>
) {
return this
.pipeSchemaToInstance(this.schemaWithDefaults)
.pipeSchemaIntoInstance(this.schemaWithDefaults)
.parse(values, params)
}
@@ -64,7 +64,7 @@ export const ZodSchemaObject = <
...[values, params]: CreateArgs<PartialValues>
) {
return this
.pipeSchemaToInstance(this.schemaWithDefaults)
.pipeSchemaIntoInstance(this.schemaWithDefaults)
.parseAsync(values, params)
}
@@ -78,7 +78,7 @@ export const ZodSchemaObject = <
...[values, params]: CreateArgs<PartialValues>
) {
return parseZodSchemaEffect(
this.pipeSchemaToInstance(this.schemaWithDefaults),
this.pipeSchemaIntoInstance(this.schemaWithDefaults),
values,
params,
)