Field

sealed class Field : __Field

Types

DataLoader
Link copied to clipboard
class DataLoader<T, K, R>(kql: PropertyDef.DataLoadedFunction<T, K, R>, loader: DataLoaderFactory<K, R>, returnType: Type, arguments: List<InputValue<*>>) : Field
Function
Link copied to clipboard
open class Function<T, R>(kql: BaseOperationDef<T, R>, returnType: Type, arguments: List<InputValue<*>>) : Field, FunctionWrapper<R>
Kotlin
Link copied to clipboard
class Kotlin<T : Any, R>(kql: PropertyDef.Kotlin<T, R>, returnType: Type, arguments: List<InputValue<*>>, transformation: Transformation<T, R>?) : Field
Union
Link copied to clipboard
class Union<T>(kql: PropertyDef.Union<T>, nullable: Boolean, returnType: Type.Union, arguments: List<InputValue<*>>) : Field, FunctionWrapper<Any?>

Functions

checkAccess
Link copied to clipboard
abstract fun checkAccess(parent: Any?, ctx: Context)

Properties

args
Link copied to clipboard
open override val args: List<__InputValue>
arguments
Link copied to clipboard
abstract val arguments: List<InputValue<*>>
deprecationReason
Link copied to clipboard
abstract val deprecationReason: String?
description
Link copied to clipboard
abstract val description: String?
isDeprecated
Link copied to clipboard
abstract val isDeprecated: Boolean
name
Link copied to clipboard
abstract val name: String
returnType
Link copied to clipboard
abstract val returnType: Type
type
Link copied to clipboard
open override val type: __Type

Inheritors

Field
Link copied to clipboard
Field
Link copied to clipboard
Field
Link copied to clipboard
Field
Link copied to clipboard

Extensions

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