ScalarTypeAdapters

class ScalarTypeAdapters(val customAdapters: Map<CustomScalarType, CustomTypeAdapter<*>>)

A replica of Apollo Android v2's ScalarTypeAdapters, 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.

Constructors

Link copied to clipboard
fun ScalarTypeAdapters(customAdapters: Map<CustomScalarType, CustomTypeAdapter<*>>)

Properties

Link copied to clipboard
val customAdapters: Map<CustomScalarType, CustomTypeAdapter<*>>