Skip to content

Commit

Permalink
Merge branch 'main' into entity-selection-tree-merge-fragment-ref
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyMDev committed Dec 20, 2023
2 parents f2113fd + badf92e commit 4afc607
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@types/jest": "29.5.11",
"common-tags": "1.8.2",
"jest": "29.7.0",
"rollup": "4.9.0",
"rollup": "4.9.1",
"@rollup/plugin-terser": "0.4.4",
"ts-jest": "29.1.1",
"typescript": "5.3.3"
Expand Down
4 changes: 2 additions & 2 deletions docs/source/code-generation/codegen-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ The default configuration will:
#### Command:

`apollo-ios-cli init [--schema-name <schema name>] [--module-type <module type>] [--target-name <target name>]`
`apollo-ios-cli init --schema-namespace <namespace> --module-type <type> [--target-name <target name>]`

#### Options:

| Option | Description |
| ---------- | ----------- |
| `--schema-name` | **[Required]** The name you would like to be used as the namespace for your generated schema files. |
| `--schema-namespace` | **[Required]** The name you would like to be used as the namespace for your generated schema files. |
| `--module-type` | **[Required]** How to package the schema types for dependency management. Possible types are `embeddedInTarget`, `swiftPackageManager`, `other`. |
| `--target-name` | Name of the target in which the schema types files will be manually embedded.<br/><br/>*Note: This is required for the "embeddedInTarget" module type and will be ignored for all other module types.* |
| `-p, --path <path>` | Write the configuration to a file at the path. (default: `./apollo-codegen-config.json`) |
Expand Down

0 comments on commit 4afc607

Please sign in to comment.