Data Loaded Function
open class DataLoadedFunction<T, K, R>(name: String, loader: DataLoaderFactory<K, R>, prepare: FunctionWrapper<K>, returnType: KType, description: String?, isDeprecated: Boolean, deprecationReason: String?, accessRule: (T?, Context) -> Exception??, inputValues: List<InputValueDef<*>>) : PropertyDef<T>
Content copied to clipboard
T -> The Parent Type K -> The Key that'll be passed to the dataLoader R -> The return type
Constructors
DataLoadedFunction
Link copied to clipboard
fun <T, K, R> DataLoadedFunction(name: String, loader: DataLoaderFactory<K, R>, prepare: FunctionWrapper<K>, returnType: KType, description: String? = null, isDeprecated: Boolean = false, deprecationReason: String? = null, accessRule: (T?, Context) -> Exception?? = null, inputValues: List<InputValueDef<*>> = emptyList())
Content copied to clipboard
Properties
accessRule
Link copied to clipboard
deprecationReason
Link copied to clipboard
description
Link copied to clipboard
inputValues
Link copied to clipboard
isDeprecated
Link copied to clipboard
prepare
Link copied to clipboard
returnType
Link copied to clipboard