kgraphql / com.apurebase.kgraphql.schema.model / PropertyDef / Function

Function

open class Function<T, R> : BaseOperationDef<T, R>, PropertyDef<T>

Constructors

<init>

Function(name: String, resolver: FunctionWrapper<R>, description: String? = null, isDeprecated: Boolean = false, deprecationReason: String? = null, accessRule: ((T?, Context) -> Exception?)? = null, inputValues: List<InputValueDef<*>> = emptyList(), explicitReturnType: KType? = null)

Properties

deprecationReason

open val deprecationReason: String?

description

open val description: String?

isDeprecated

open val isDeprecated: Boolean