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

Perform all DocumentNode transforms once, and cache the results. #4601

Merged
merged 4 commits into from
Mar 22, 2019

Commits on Mar 18, 2019

  1. Perform all DocumentNode transforms once, and cache the results.

    Much of this work was previously duplicated for every request, which was
    not only wasteful for obvious reasons, but also limited the benefits of
    caching based on DocumentNode references, since repeatedly transforming
    the same document changes its referential identity, making it hard to tell
    whether a given document has been encountered before.
    benjamn committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    3bfd9a4 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2019

  1. Centralize WeakMap feature detection in apollo-utilities.

    Not all environments where WeakMap must be polyfilled do so reliably:
    #3394 (comment)
    benjamn committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    f58fc63 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e1239d View commit details
    Browse the repository at this point in the history
  3. Mention PR #4601 in CHANGELOG.md.

    benjamn committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    44fa8c7 View commit details
    Browse the repository at this point in the history