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

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

Properties

Link copied to clipboard
val value: T

Inheritors

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