kgraphql / com.apurebase.kgraphql.schema.structure / Field

Field

sealed class Field : __Field

Types

DataLoader

class DataLoader<T, K, R> : Field

Function

open class Function<T, R> : Field, FunctionWrapper<R>

Kotlin

class Kotlin<T : Any, R> : Field

Union

class Union<T> : Field, FunctionWrapper<Any?>

Properties

args

open val args: List<__InputValue>

arguments

abstract val arguments: List<InputValue<*>>

returnType

abstract val returnType: Type

type

open val type: __Type

Functions

checkAccess

abstract fun checkAccess(parent: Any?, ctx: Context): Unit

Extension Functions

validateArguments

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