SchemaParseResult

data class SchemaParseResult(val types: List<SchemaType>, val queryTypeName: String? = null, val mutationTypeName: String? = null, val subscriptionTypeName: String? = null)(source)

Parsed result from a GraphQL schema definition file, including type definitions and root operation type names.

Constructors

Link copied to clipboard
constructor(types: List<SchemaType>, queryTypeName: String? = null, mutationTypeName: String? = null, subscriptionTypeName: String? = null)

Properties

Link copied to clipboard

The name of the root mutation type, or null if not defined.

Link copied to clipboard

The name of the root query type, or null if not defined.

Link copied to clipboard

The name of the root subscription type, or null if not defined.

Link copied to clipboard

All schema-level type definitions (input objects, enums, scalars, object types, interfaces, and unions).