Skip to content

Commit

Permalink
Export QueryResponseCache
Browse files Browse the repository at this point in the history
Summary:
This is useful when implementing the network interface, especially given that we don't render from the in-memory cache by default.
Closes #1826

Differential Revision: D5148316

Pulled By: kassens

fbshipit-source-id: bfa73786f3e95602008649b5264e0ec568f9629d
  • Loading branch information
josephsavona authored and facebook-github-bot committed May 30, 2017
1 parent daf38f2 commit 00c7e90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/relay-runtime/RelayRuntime.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const RelayMarkSweepStore = require('RelayMarkSweepStore');
const RelayModernEnvironment = require('RelayModernEnvironment');
const RelayModernGraphQLTag = require('RelayModernGraphQLTag');
const RelayNetwork = require('RelayNetwork');
const RelayQueryResponseCache = require('RelayQueryResponseCache');
const RelayViewerHandler = require('RelayViewerHandler');

const commitLocalUpdate = require('commitLocalUpdate');
Expand All @@ -41,6 +42,7 @@ module.exports = {
// Core API
Environment: RelayModernEnvironment,
Network: RelayNetwork,
QueryResponseCache: RelayQueryResponseCache,
RecordSource: RelayInMemoryRecordSource,
Store: RelayMarkSweepStore,

Expand Down

0 comments on commit 00c7e90

Please sign in to comment.