TypePolicyCacheKeyGenerator

Deprecated

Use the new Normalized Cache at https://github.com/apollographql/apollo-kotlin-normalized-cache

A CacheKeyGenerator that uses annotations to compute the id

Functions

Link copied to clipboard
open override fun cacheKeyForObject(obj: Map<String, Any?>, context: CacheKeyGeneratorContext): CacheKey?

Returns a CacheKey for the given object or null if the object doesn't have an id