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

Kotlin

class Kotlin<T : Any, R> : Field

Constructors

<init>

Kotlin(kql: Kotlin<T, R>, returnType: Type, arguments: List<InputValue<*>>, transformation: Transformation<T, R>?)

Properties

accessRule

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

arguments

val arguments: List<InputValue<*>>

deprecationReason

val deprecationReason: String?

description

val description: String?

isDeprecated

val isDeprecated: Boolean

kProperty

val kProperty: KProperty1<T, R>

name

val name: String

returnType

val returnType: Type

transformation

val transformation: Transformation<T, R>?

Functions

checkAccess

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