Skip to content

Commit

Permalink
Adds API reference links
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari committed Sep 12, 2024
1 parent b7ed9db commit 9c466a4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/code-generation/codegen-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ Specify the directory for your test mocks using the `path` parameter. This is re
## Output options

**[`options: ApolloCodegenConfiguration.OutputOptions`](https://www.apollographql.com/docs/ios/docc/documentation/apollocodegenlib/apollocodegenconfiguration/outputoptions)**

The code generation engine supports a number of configuration options to change the behaviour of the generator and tailor the generated Swift code to your specific needs.

The top-level properties are:
Expand Down Expand Up @@ -599,6 +601,8 @@ let configuration = ApolloCodegenConfiguration(

## Experimental features

**[`experimentalFeatures: ApolloCodegenConfiguration.ExperimentalFeatures`](https://www.apollographql.com/docs/ios/docc/documentation/apollocodegenlib/apollocodegenconfiguration/experimentalfeatures-swift.struct)**

The code generation engine supports some behaviors where the affect on the generated code is considered experimental. An example of this is a specification of the GraphQL schema that is not yet formalized and undergoing change as the proposal advances.

> Note: These features could change at any time and are not guaranteed to always be available.
Expand Down Expand Up @@ -635,6 +639,8 @@ let configuration = ApolloCodegenConfiguration(

## Schema download configuration

**[`schemaDownload: ApolloSchemaDownloadConfiguration`](https://www.apollographql.com/docs/ios/docc/documentation/apollocodegenlib/apolloschemadownloadconfiguration)**

An optional step in the code generation process is to fetch a GraphQL schema from a remote server. This step ensures that you always have an up-to-date schema on which to base your operations and it eliminates the need to manually download the schema outside of the automated process.

The properties to configure the schema download are:
Expand Down Expand Up @@ -756,6 +762,8 @@ For more details, see the section on [downloading a schema](./downloading-schema

## Operation Manifest Configuration

**[`operationManifest: ApolloCodegenConfiguration.OperationManifestConfiguration`](https://www.apollographql.com/docs/ios/docc/documentation/apollocodegenlib/apollocodegenconfiguration/operationmanifestconfiguration)**

Optional settings used to configure generation of the operation identifier manifest for use with [Persisted Queries](./../fetching/persisted-queries).

| Property Name | Description |
Expand Down

0 comments on commit 9c466a4

Please sign in to comment.