Skip to content

Commit

Permalink
Merge pull request #85 from rruizt/pq-manifest-format-default-fix
Browse files Browse the repository at this point in the history
fix: change manifest format default from "operationOutput" to "none"
  • Loading branch information
aoudiamoncef authored Nov 20, 2024
2 parents b2d46a2 + 2eb94e6 commit 1aa61de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions apollo-client-maven-plugin-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
</Long>
</scalarsMapping>
<operationIdGeneratorClass></operationIdGeneratorClass>
<operationManifestFormat>persistedQueryManifest</operationManifestFormat>
<schemaPackageName>com.lahzouz.apollo.graphql.client</schemaPackageName>
<packageName>com.lahzouz.apollo.graphql.client</packageName>
<codegenModels>OPERATION</codegenModels>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,14 @@ class CompilerParams {
/**
* The format in which the operation manifest will be generated.
*
* Default value: "operationOutput"
* Acceptable values:
* - `none`: No manifest will be generated
* - `operationOutput`: 'operationOutput' manifest format
* - `persistedQueryManifest`: Apollo's persistent query manifest format
*
* Default value: "none"
*/
internal val operationManifestFormat: String = MANIFEST_OPERATION_OUTPUT
internal val operationManifestFormat: String = MANIFEST_NONE

/**
* Whether or not to generate Apollo metadata. Apollo metadata is used for multi-module support. Set this to true if you want other
Expand Down

0 comments on commit 1aa61de

Please sign in to comment.