kgraphql / com.apurebase.kgraphql.schema.introspection / SchemaProxy

SchemaProxy

class SchemaProxy : LookupSchema

Constructors

<init>

SchemaProxy(configuration: SchemaConfiguration, proxiedSchema: LookupSchema? = null)

Properties

configuration

val configuration: SchemaConfiguration

directives

val directives: List<__Directive>

mutationType

val mutationType: __Type?

proxiedSchema

var proxiedSchema: LookupSchema?

queryType

val queryType: __Type

subscriptionType

val subscriptionType: __Type?

types

val types: List<__Type>

Functions

execute

suspend fun execute(request: String, variables: String?, context: Context, options: ExecutionOptions): String

findTypeByName

fun findTypeByName(name: String): __Type?

inputTypeByKClass

fun inputTypeByKClass(kClass: KClass<*>): Type?

inputTypeByKType

fun inputTypeByKType(kType: KType): Type?

inputTypeByName

fun inputTypeByName(name: String): Type?

typeByKClass

fun typeByKClass(kClass: KClass<*>): Type?

typeByKType

fun typeByKType(kType: KType): Type?

typeByName

fun typeByName(name: String): Type?

Companion Object Properties

ILLEGAL_STATE_MESSAGE

const val ILLEGAL_STATE_MESSAGE: String