kgraphql / com.apurebase.kgraphql.schema.introspection / __Type

__Type

interface __Type

GraphQL introspection system defines __Type to represent all of TypeKinds If some field does not apply to given type, it returns null

Properties

description

abstract val description: String

enumValues

abstract val enumValues: List<__EnumValue>?

fields

abstract val fields: List<__Field>?

inputFields

abstract val inputFields: List<__InputValue>?

interfaces

abstract val interfaces: List<__Type>?

kind

abstract val kind: TypeKind

name

abstract val name: String?

ofType

abstract val ofType: __Type?

possibleTypes

abstract val possibleTypes: List<__Type>?

Extension Functions

asString

fun __Type.asString(): String

Inheritors

Type

interface Type : __Type