Skip to content

Commit 21ec6d6

Browse files
authored
remove console log (#863)
1 parent e1d295a commit 21ec6d6

File tree

1 file changed

+1
-3
lines changed
  • packages/convex-helpers/server

1 file changed

+1
-3
lines changed

packages/convex-helpers/server/zod3.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,9 +1290,7 @@ export function zodOutputToConvex<Z extends z.ZodTypeAny>(
12901290
zod._def.innerType,
12911291
) as unknown as ConvexValidatorFromZodOutput<Z>;
12921292
case "ZodEffects":
1293-
console.warn(
1294-
"Note: ZodEffects (like z.transform) do not do output validation",
1295-
);
1293+
// IMPORTANT: Note: ZodEffects (like z.transform) do not do output validation
12961294
return v.any() as ConvexValidatorFromZodOutput<Z>;
12971295
case "ZodPipeline":
12981296
// IMPORTANT: The output type of the pipeline can differ from the input.

0 commit comments

Comments
 (0)