Docs
Launch GraphOS Studio
You're viewing documentation for a previous version of this software. Switch to the latest stable version.


STRUCT

ApolloSchemaDownloader

public struct ApolloSchemaDownloader

A wrapper to facilitate downloading a schema with the Apollo node CLI

Methods

fetch(with:)

public static func fetch(with configuration: ApolloSchemaDownloadConfiguration) throws

Downloads your schema using the specified configuration object.

  • Parameters:
    • configuration: The ApolloSchemaDownloadConfiguration object to use to download the schema.
  • Returns: Output from a successful run

Parameters

NameDescription
configurationThe ApolloSchemaDownloadConfiguration object to use to download the schema.
Next
Introduction
Edit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc.

Privacy Policy

Company