kgraphql / com.apurebase.kgraphql.schema.structure

Package com.apurebase.kgraphql.schema.structure

Types

EnumValue

class EnumValue<T : Enum<T>> : __EnumValue

Field

sealed class Field : __Field

InputValue

class InputValue<T : Any> : __InputValue

LookupSchema

interface LookupSchema : Schema

RequestInterpreter

class RequestInterpreter

SchemaCompilation

class SchemaCompilation

SchemaModel

data class SchemaModel : __Schema

Type

interface Type : __Type

TypeProxy

open class TypeProxy : Type

Functions

assertValidObjectType

fun assertValidObjectType(kClass: KClass<*>): Unit

validateArguments

fun Field.validateArguments(selectionArgs: List<ArgumentNode>?, parentTypeName: String?): List<ValidationException>

validateName

fun validateName(name: String): Unit

validatePropertyArguments

fun validatePropertyArguments(parentType: Type, field: Field, requestNode: FieldNode): Unit

validateUnionRequest

validate that only typed fragments or __typename are present

fun validateUnionRequest(field: Union<*>, selectionNode: FieldNode): Unit