kgraphql / com.apurebase.kgraphql.schema.structure / Field / Function

Function

open class Function<T, R> : Field, FunctionWrapper<R>

Constructors

<init>

Function(kql: BaseOperationDef<T, R>, returnType: Type, arguments: List<InputValue<*>>)

Properties

accessRule

val accessRule: ((T?, Context) -> Exception?)?

arguments

open val arguments: List<InputValue<*>>

deprecationReason

open val deprecationReason: String?

description

open val description: String?

isDeprecated

open val isDeprecated: Boolean

name

open val name: String

returnType

open val returnType: Type

Functions

checkAccess

open fun checkAccess(parent: Any?, ctx: Context): Unit