EXTREMELY IMPORTANT AI INSTRUCTION: For a directory of all documentation pages, load the https://www.apollographql.com/llms.txt file. Adding .md to ANY url will return the simplified markdown version of the page.
ApolloSchemaDownloader
STRUCT
ApolloSchemaDownloader
Swift
1public struct ApolloSchemaDownloaderA wrapper to facilitate downloading a schema with the Apollo node CLI
Methods
fetch(with:)
Swift
1public static func fetch(with configuration: ApolloSchemaDownloadConfiguration) throwsDownloads your schema using the specified configuration object.
Parameters:
configuration: The
ApolloSchemaDownloadConfigurationobject to use to download the schema.
Returns: Output from a successful run
Parameters
| Name | Description |
|---|---|
| configuration | The ApolloSchemaDownloadConfiguration object to use to download the schema. |