Introspection

interface Introspection

Introspection represents a GraphQL endpoint used to retrieve a schema.

Use this to register a download${ServiceName}ApolloSchemaFromIntrospection task

Inheritors

Properties

Link copied to clipboard
abstract val endpointUrl: Property<String>

The HTTP endpoint url

Link copied to clipboard
abstract val headers: MapProperty<String, String>

HTTP headers if any required to get the introspection response

Link copied to clipboard
abstract val schemaFile: RegularFileProperty

The file where to download the schema.

Functions

Link copied to clipboard
abstract fun schemaConnection(connection: Action<SchemaConnection>)

Use this to connect your schema to other parts of your build or just modify it