Options for generating manifests are unclear when each should be used #3462
Labels
codegen
Issues related to or arising from code generation
enhancement
Issues outlining new things we want to do or things that will make our lives as devs easier
Milestone
Use case
From what I can tell, there's two different properties available that sound like they enable manifest generation
ApolloCodegenConfiguration.OperationManifestConfiguration.generateManifestOnCodeGeneration
itemsToGenerate
when callingApolloCodegen.build
passing aApolloCodegen.ItemsToGenerate
When calling
ApolloCodegen.build
directly, it's unclear from those properties whether they should be used together or if just one should be used since they're both passed intobuild
.Describe the solution you'd like
From trial and error I think that
generateManifestOnCodeGeneration
is only used when calling thegenerate
command on theCodegenCLI
. It'd be nice if the documentation was clearer that it only applies when usingCodegenCLI
.Ideally there would be one way to enable generating manifests so the same
ApolloCodegenConfiguration
passed toCodegenCLI
andApolloCodegen.build
would produce the same results.The text was updated successfully, but these errors were encountered: