kgraphql / com.apurebase.kgraphql.schema.model / PropertyDef / DataLoadedFunction / <init>

<init>

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())

T -> The Parent Type K -> The Key that'll be passed to the dataLoader R -> The return type