TypeShape

data class TypeShape(val qualifiedName: String, val simpleName: String, val supertypeQualifiedNames: Set<String>, val isEnum: Boolean, val isNullable: Boolean)

The parts of a parameter's resolved type that the CoercionPlanner needs.

Parameters

qualifiedName

fully qualified name of the type itself

simpleName

simple name, used as the parameter's display name in errors and signatures

supertypeQualifiedNames

fully qualified names of every transitive supertype

isEnum

whether the type is an enum class

isNullable

whether the parameter's type is marked nullable

Constructors

Link copied to clipboard
constructor(qualifiedName: String, simpleName: String, supertypeQualifiedNames: Set<String>, isEnum: Boolean, isNullable: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard