kgraphql / com.apurebase.kgraphql.schema.dsl / KotlinPropertyDSL

KotlinPropertyDSL

class KotlinPropertyDSL<T : Any, R> : LimitedAccessItemDSL<T>

Constructors

<init>

KotlinPropertyDSL(kProperty: KProperty1<T, R>, block: KotlinPropertyDSL<T, R>.() -> Unit)

Properties

ignore

var ignore: Boolean

Functions

accessRule

fun accessRule(rule: (T, Context) -> Exception?): Unit

toKQLProperty

fun toKQLProperty(): Kotlin<T, R>