ScalarTypeAdapters

@ApolloDeprecatedSince(version = ApolloDeprecatedSince.Version.v3_0_0)
class ScalarTypeAdapters(val customAdapters: Map<CustomScalarType, CustomTypeAdapter<*>>)

Deprecated (with error)

Used for backward compatibility with 2.x, use Adapter instead

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
constructor(customAdapters: Map<CustomScalarType, CustomTypeAdapter<*>>)

Properties