TypeDSL

open class TypeDSL<T : Any>(supportedUnions: Collection<TypeDef.Union>, kClass: KClass<T>) : ItemDSL

Functions

configure
Link copied to clipboard
fun <R> KProperty1<T, R>.configure(block: KotlinPropertyDSL<T, R>.() -> Unit)
dataProperty
Link copied to clipboard
inline fun <KEY, TYPE> dataProperty(name: String, noinline block: DataLoaderPropertyDSL<T, KEY, TYPE>.() -> Unit)
ignore
Link copied to clipboard
fun <R> KProperty1<T, R>.ignore()
property
Link copied to clipboard
fun <R> property(name: String, block: PropertyDSL<T, R>.() -> Unit)
fun <R> property(kProperty: KProperty1<T, R>, block: KotlinPropertyDSL<T, R>.() -> Unit)
transformation
Link copied to clipboard
fun <R, E> transformation(kProperty: KProperty1<T, R>, function: suspend (R, E) -> R)
fun <R, E, W> transformation(kProperty: KProperty1<T, R>, function: suspend (R, E, W) -> R)
fun <R, E, W, Q> transformation(kProperty: KProperty1<T, R>, function: suspend (R, E, W, Q) -> R)
fun <R, E, W, Q, A> transformation(kProperty: KProperty1<T, R>, function: suspend (R, E, W, Q, A) -> R)
fun <R, E, W, Q, A, S> transformation(kProperty: KProperty1<T, R>, function: suspend (R, E, W, Q, A, S) -> R)
fun <R, E, W, Q, A, S, B> transformation(kProperty: KProperty1<T, R>, function: suspend (R, E, W, Q, A, S, B) -> R)
fun <R, E, W, Q, A, S, B, U> transformation(kProperty: KProperty1<T, R>, function: suspend (R, E, W, Q, A, S, B, U) -> R)
fun <R, E, W, Q, A, S, B, U, C> transformation(kProperty: KProperty1<T, R>, function: suspend (R, E, W, Q, A, S, B, U, C) -> R)
unionProperty
Link copied to clipboard
fun unionProperty(name: String, block: UnionPropertyDSL<T>.() -> Unit)

Properties

dataloadedExtensionProperties
Link copied to clipboard
description
Link copied to clipboard
var description: String? = null
kClass
Link copied to clipboard
val kClass: KClass<T>
name
Link copied to clipboard
var name: String