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 ae6e5e9 commit 74b5ec5Copy full SHA for 74b5ec5
src/index.ts
@@ -39,6 +39,8 @@ const schemaVisitor = (schema: GraphQLSchema, config: ValidationSchemaPluginConf
39
40
const _transformSchemaAST = (schema: GraphQLSchema, config: ValidationSchemaPluginConfig) => {
41
const { schema: _schema, ast } = transformSchemaAST(schema, config);
42
+ // This affects the performance of code generation, so it is
43
+ // enabled only when this option is selected.
44
if (config.validationSchemaExportType === 'const') {
45
return {
46
schema: _schema,
0 commit comments