CustomTypeValue

sealed class CustomTypeValue<T>

A replica of Apollo Android v2's CustomTypeValue, to ease migration from v2 to v3.

In your CustomTypeAdapter, update the imports from com.apollographql.apollo.api to com.apollographql.apollo3.api to use this version.

Types

Companion
Link copied to clipboard
common
object Companion
GraphQLBoolean
Link copied to clipboard
common
class GraphQLBoolean(value: Boolean) : CustomTypeValue<Boolean>
GraphQLJsonList
Link copied to clipboard
common
class GraphQLJsonList(value: List<Any>) : CustomTypeValue<List<Any>>
GraphQLJsonObject
Link copied to clipboard
common
class GraphQLJsonObject(value: Map<String, Any>) : CustomTypeValue<Map<String, Any>>
GraphQLNull
Link copied to clipboard
common
object GraphQLNull : CustomTypeValue<Unit>
GraphQLNumber
Link copied to clipboard
common
class GraphQLNumber(value: Number) : CustomTypeValue<Number>
GraphQLString
Link copied to clipboard
common
class GraphQLString(value: String) : CustomTypeValue<String>

Properties

value
Link copied to clipboard
common
val value: T

Inheritors

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