Skip to content

Commit

Permalink
fix: Fixed reading of the itemsToGenerate property for the operatio…
Browse files Browse the repository at this point in the history
…n manifest (apollographql#3215)
  • Loading branch information
TizianoCoroneo authored Sep 8, 2023
1 parent 76a7619 commit e76c9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ApolloCodegenLib/ApolloCodegen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e76c9e7

Please sign in to comment.