kgraphql / com.apurebase.kgraphql.schema.model / TypeDef / Object

Object

class Object<T : Any> : BaseKQLType, Kotlin<T>

Constructors

<init>

Object(name: String, kClass: KClass<T>, kotlinProperties: Map<KProperty1<T, *>, Kotlin<T, *>> = emptyMap(), extensionProperties: List<Function<T, *>> = emptyList(), dataloadExtensionProperties: List<DataLoadedFunction<T, *, *>> = emptyList(), unionProperties: List<Union<T>> = emptyList(), transformations: Map<KProperty1<T, *>, Transformation<T, *>> = emptyMap(), description: String? = null)

Properties

dataloadExtensionProperties

val dataloadExtensionProperties: List<DataLoadedFunction<T, *, *>>

extensionProperties

val extensionProperties: List<Function<T, *>>

kClass

val kClass: KClass<T>

kotlinProperties

val kotlinProperties: Map<KProperty1<T, *>, Kotlin<T, *>>

propertiesByName

val propertiesByName: Map<String, Kotlin<T, *>>

transformations

val transformations: Map<KProperty1<T, *>, Transformation<T, *>>

unionProperties

val unionProperties: List<Union<T>>

Functions

isIgnored

fun isIgnored(property: String): Boolean