Skip to content

Commit

Permalink
feat(utils): change ajv coerceTypes setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas2D committed Sep 4, 2024
1 parent d6df723 commit f3489b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internals/helpers/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function createSchemaValidator<T extends AnySchemaLike>(

const ajv = new Ajv(
options ?? {
coerceTypes: true,
coerceTypes: "array",
useDefaults: true,
strict: false,
strictSchema: false,
Expand Down

0 comments on commit f3489b1

Please sign in to comment.