Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
experimental
ApolloClient.getMemoryInternals
helper (#11409)
* `print`: use `WeakCache` instead of `WeakMap` * format * pull in memory testing tools from PR 11358 * Persisted Query Link: improve memory management * re-add accidentally removed dependency * update api * update size limit * size-limit * fix test failure * better cleanup of interval/timeout * apply formatting * remove unneccessary type * format again after updating prettier * add central confiuguration for Apollo Client cache sizes * resolve import cycle * add exports * reduce cache collection throttle timeout * typo in comment * experimental `ApolloClient.getCacheStatus` helper * update size-limits * fix circular import * size-limits * update type to remove `WeakKey` * api-extractor * work around ES5 class compat * update api-report * fix typo in comment * chores * changeset * stop recursion * add some internal annotations and optional readonly cacheSize property * slight remodel, add more caches * chores * add more caches * add more caches * chores * add type export * update test * chores * formatting * adjust more tests * chores * rename, add more caches * rename file * chores * size-limits * Update wet-forks-rhyme.md * PR feedback, long explanatory comment * Clean up Prettier, Size-limit, and Api-Extractor * adjust comments * remove `expect.objectContaining` * flip conditionals * extract function * Clean up Prettier, Size-limit, and Api-Extractor * report correct size limits * Clean up Prettier, Size-limit, and Api-Extractor * adjust report shape to roughly match configuration * Clean up Prettier, Size-limit, and Api-Extractor * Update src/utilities/caching/getMemoryInternals.ts * Clean up Prettier, Size-limit, and Api-Extractor * better types * Clean up Prettier, Size-limit, and Api-Extractor --------- Co-authored-by: phryneas <phryneas@users.noreply.github.com>
- Loading branch information
Showing
39 changed files
with
1,502 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.