CustomScalarType

class CustomScalarType(val name: String, val className: String) : CompiledNamedType

A GraphQL scalar type that is mapped to a Kotlin. This is named "Custom" for historical reasons but is also used for builtin scalars

TODO v4: rename this to ScalarType

Constructors

Link copied to clipboard
fun CustomScalarType(name: String, className: String)

Functions

Link copied to clipboard
open override fun leafType(): CompiledNamedType
Link copied to clipboard
open override fun rawType(): CompiledNamedType

Properties

Link copied to clipboard
val className: String

Fully qualified class name this GraphQL scalar type is mapped to (e.g. java.lang.String, java.net.URL, java.util.DateTime)

Link copied to clipboard
val name: String