STRUCT
ApolloSchemaDownloader
public struct ApolloSchemaDownloader
A wrapper to facilitate downloading a GraphQL schema.
Methods
fetch(configuration:)
public static func fetch(configuration: ApolloSchemaDownloadConfiguration) throws
Downloads your schema using the specified configuration object.
- Parameters:
- configuration: The
ApolloSchemaDownloadConfiguration
used to download the schema.
- configuration: The
- Returns: Output from a successful fetch or throws an error.
- Throws: Any error which occurs during the fetch.
Parameters
Name | Description |
---|---|
configuration | The ApolloSchemaDownloadConfiguration used to download the schema. |