Skip to content

Commit 5a150ac

Browse files
committed
use old default nullability setting
1 parent 37b14be commit 5a150ac

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/schema.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ import { country as getCountry } from "iso-3166-2";
1313
import provinces from "provinces";
1414
import sift, { $eq, $in, $ne, $nin, $regex } from "sift";
1515

16-
const builder = new SchemaBuilder({
16+
const builder = new SchemaBuilder<{
17+
DefaultFieldNullability: false;
18+
}>({
19+
defaultFieldNullability: false,
1720
plugins: [ZodPlugin],
1821
zod: {
1922
validationError: (zodError, _, __, info) => {

0 commit comments

Comments
 (0)