Skip to content

Commit 5d8614b

Browse files
committed
renamed possible typo
1 parent 7380f4b commit 5d8614b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zod/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const ZodSchemaVisitor = (schema: GraphQLSchema, config: ValidationSchema
5454
importTypes.push(name);
5555

5656
const shape = node.fields
57-
?.map(field => generateInputObjectFieldYupSchema(config, tsVisitor, schema, field, 2))
57+
?.map(field => generateInputObjectFieldZodSchema(config, tsVisitor, schema, field, 2))
5858
.join(',\n');
5959

6060
return new DeclarationBlock({})
@@ -84,7 +84,7 @@ export const ZodSchemaVisitor = (schema: GraphQLSchema, config: ValidationSchema
8484
};
8585
};
8686

87-
const generateInputObjectFieldYupSchema = (
87+
const generateInputObjectFieldZodSchema = (
8888
config: ValidationSchemaPluginConfig,
8989
tsVisitor: TsVisitor,
9090
schema: GraphQLSchema,

0 commit comments

Comments
 (0)