IrInputObjectType

@Serializable
@SerialName(value = "input")
data class IrInputObjectType(val name: String, val nullable: Boolean = false, val optional: Boolean = false, val catchTo: IrCatchTo = IrCatchTo.NoCatch, val maybeError: Boolean = false) : IrNamedType

Constructors

Link copied to clipboard
constructor(name: String, nullable: Boolean = false, optional: Boolean = false, catchTo: IrCatchTo = IrCatchTo.NoCatch, maybeError: Boolean = false)

Properties

Link copied to clipboard
open override val catchTo: IrCatchTo

reading this type must catch exceptions during parsing

Link copied to clipboard
open override val maybeError: Boolean

Whether this type is nullable in the schema, regardless of semantic nullability. This is used for @catchByDefault

Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val nullable: Boolean

This type is nullable in Kotlin

Link copied to clipboard
open override val optional: Boolean

This type is optional in Kotlin

Functions

Link copied to clipboard
open override fun copyWith(maybeError: Boolean, nullable: Boolean, optional: Boolean, catchTo: IrCatchTo): IrType
Link copied to clipboard
fun IrType.nullable(nullable: Boolean): IrType
Link copied to clipboard
fun IrType.optional(optional: Boolean): IrType
Link copied to clipboard
open override fun rawType(): IrInputObjectType