Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two unrelated small cache improvements #7241

Merged
merged 1 commit into from Dec 12, 2022
Merged

Commits on Dec 10, 2022

  1. Two unrelated small cache improvements

    - Explicitly allow people to pass `cache: 'bounded'`. Non-TS users
      upgrading from the recommended AS3.9+ configuration could do this by
      accident. Fixes #7240.
    
    - Upgrade `@apollo/utils.keyvaluecache` so that the new
      `PrefixingKeyValueCache.cacheDangerouslyDoesNotNeedPrefixesForIsolation`
      feature lets you disable prefixing for the APQ and full response
      caches. Throw if you try to pass such a cache to `ApolloServer` itself
      because that cache is designed to be shared across features. Migrate
      off of PrefixingKeyValueCache for `documentStore` so that its
      prefixing can't be disabled. Fixes #6742.
    glasser committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    fa9fdd4 View commit details
    Browse the repository at this point in the history