You are viewing documentation for a previous version of this software.

Switch to the latest stable version.

CacheKeyForObject


TYPEALIAS

CacheKeyForObject

Swift
1public typealias CacheKeyForObject = (_ object: JSONObject) -> JSONValue?

A function that returns a cache key for a particular result object. If it returns nil, a default cache key based on the field path will be used.

Feedback

Edit on GitHub

Forums