kgraphql / com.apurebase.kgraphql.schema / DefaultSchema

DefaultSchema

class DefaultSchema : Schema, __Schema, LookupSchema

Constructors

<init>

DefaultSchema(configuration: SchemaConfiguration, model: SchemaModel)

Properties

configuration

val configuration: SchemaConfiguration

Functions

execute

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

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

OPERATION_NAME_PARAM

val OPERATION_NAME_PARAM: NameNode