diff --git a/packages/plugins/other/schema-ast/src/index.ts b/packages/plugins/other/schema-ast/src/index.ts index f5313b0beff..e53ad6132d0 100644 --- a/packages/plugins/other/schema-ast/src/index.ts +++ b/packages/plugins/other/schema-ast/src/index.ts @@ -3,7 +3,7 @@ import { PluginFunction, PluginValidateFn, Types } from '@graphql-codegen/plugin import { extname } from 'path'; export const plugin: PluginFunction = async (schema: GraphQLSchema): Promise => { - return printSchema(schema, { commentDescriptions: true }); + return printSchema(schema, { commentDescriptions: false }); }; export const validate: PluginValidateFn = async (schema: GraphQLSchema, documents: Types.DocumentFile[], config: any, outputFile: string, allPlugins: Types.ConfiguredPlugin[]) => {