We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f83163 commit c9113aaCopy full SHA for c9113aa
1 file changed
packages/plugins/other/visitor-plugin-common/src/base-documents-visitor.ts
@@ -378,7 +378,7 @@ export class BaseDocumentsVisitor<
378
// When extractAllFieldsToTypes creates a root type with the same name as the operation result,
379
// we only need the extracted type and can skip the alias to avoid duplicates
380
const shouldSkipOperationResult =
381
- this._parsedConfig.extractAllFieldsToTypes && operationResultName === selectionSetObjects.mergedTypeString;
+ this._parsedConfig.extractAllFieldsToTypesCompact && operationResultName === selectionSetObjects.mergedTypeString;
382
383
const operationResult = shouldSkipOperationResult
384
? ''
0 commit comments