From e76c9e7508cf18bad1ac13866e4436d8ebdc92ba Mon Sep 17 00:00:00 2001 From: TizianoCoroneo Date: Fri, 8 Sep 2023 16:21:47 +0200 Subject: [PATCH] fix: Fixed reading of the `itemsToGenerate` property for the operation manifest (#3215) --- Sources/ApolloCodegenLib/ApolloCodegen.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ApolloCodegenLib/ApolloCodegen.swift b/Sources/ApolloCodegenLib/ApolloCodegen.swift index 4cc01ccaaf..f63ddef009 100644 --- a/Sources/ApolloCodegenLib/ApolloCodegen.swift +++ b/Sources/ApolloCodegenLib/ApolloCodegen.swift @@ -131,7 +131,7 @@ public class ApolloCodegen { let ir = IR(compilationResult: compilationResult) - if itemsToGenerate == .operationManifest { + if itemsToGenerate.contains(.operationManifest) { var operationIDsFileGenerator = OperationManifestFileGenerator(config: configContext) for operation in compilationResult.operations {