CustomTypeAdapter

@ApolloDeprecatedSince(version = ApolloDeprecatedSince.Version.v3_0_0)
interface CustomTypeAdapter<T>

Deprecated (with error)

CustomTypeAdapter was used for backward compatibility with 2.x. Use Adapter instead

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

Make your CustomTypeAdapters implement this interface by updating the imports from com.apollographql.apollo.api to com.apollographql.apollo3.api.

Note: Adapters are called from multiple threads and implementations must be thread safe.