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

Union

class Union<T> : Field, FunctionWrapper<Any?>

Constructors

<init>

Union(kql: Union<T>, nullable: Boolean, returnType: Union, arguments: List<InputValue<*>>)

Properties

accessRule

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

arguments

val arguments: List<InputValue<*>>

deprecationReason

val deprecationReason: String?

description

val description: String?

isDeprecated

val isDeprecated: Boolean

name

val name: String

nullable

val nullable: Boolean

returnType

val returnType: Union

Functions

checkAccess

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