We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99ee2cd commit 69587f9Copy full SHA for 69587f9
packages/schema/src/plugins/zod/transformer.ts
@@ -90,7 +90,7 @@ export default class Transformer {
90
return `${this.name}.schema`;
91
}
92
93
- private delegateCreateUpdateInputRegex = new RegExp(`(\\S+)(Unchecked)?(Create|Update).*Input`);
+ private delegateCreateUpdateInputRegex = /(\S+)(Unchecked)?(Create|Update).*Input/;
94
95
generateObjectSchemaFields(generateUnchecked: boolean) {
96
let fields = this.fields;
0 commit comments