PropertyDef

interface PropertyDef<T> : Depreciable, DescribedDef

Types

DataLoadedFunction
Link copied to clipboard
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>
T -> The Parent Type K -> The Key that'll be passed to the dataLoader R -> The return type
Function
Link copied to clipboard
open class Function<T, R>(name: String, resolver: FunctionWrapper<R>, description: String?, isDeprecated: Boolean, deprecationReason: String?, accessRule: (T?, Context) -> Exception??, inputValues: List<InputValueDef<*>>, explicitReturnType: KType?) : BaseOperationDef<T, R> , PropertyDef<T>
Kotlin
Link copied to clipboard
open class Kotlin<T : Any, R>(kProperty: KProperty1<T, R>, description: String?, isDeprecated: Boolean, deprecationReason: String?, accessRule: (T?, Context) -> Exception??, isIgnored: Boolean) : Definition, PropertyDef<T>
Union
Link copied to clipboard
class Union<T>(name: String, resolver: FunctionWrapper<Any?>, union: TypeDef.Union, description: String?, nullable: Boolean, isDeprecated: Boolean, deprecationReason: String?, accessRule: (T?, Context) -> Exception??, inputValues: List<InputValueDef<*>>) : PropertyDef.Function<T, Any?> , PropertyDef<T>

Properties

accessRule
Link copied to clipboard
abstract val accessRule: (T?, Context) -> Exception??
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

Inheritors

PropertyDef
Link copied to clipboard
PropertyDef
Link copied to clipboard
PropertyDef
Link copied to clipboard
PropertyDef
Link copied to clipboard