NormalizedCache
A provider of Record for reading requests from cache.
To serialize a Record to a standardized form use recordAdapter() which handles call custom scalar types registered on the ApolloClient
If a NormalizedCache cannot return all the records needed to read a response, it will be considered a cache miss.
A NormalizedCache is recommended to implement support for CacheHeaders specified in [ ].
A NormalizedCache can choose to store records in any manner.
Constructors
Types
Functions
Calls through to NormalizedCache.loadRecord. Implementations should override this method if the underlying storage technology can offer an optimized manner to read multiple records. There is no guarantee on the order of returned Record
Calls through to NormalizedCache.merge. Implementations should override this method if the underlying storage technology can offer an optimized manner to store multiple records.
Remove records whose key matches a given pattern from this cache and all chained caches
Remove a record and potentially its referenced records from this cache and all chained caches