Skip to content

Instantly share code, notes, and snippets.

@chsami
Created February 11, 2019 05:13
Show Gist options
  • Save chsami/8b69c3d0e7f1ea3acf85ecdd1ff2fbb8 to your computer and use it in GitHub Desktop.
Save chsami/8b69c3d0e7f1ea3acf85ecdd1ff2fbb8 to your computer and use it in GitHub Desktop.
import introspectionResult from '../introspection-result';
const fragmentMatcher = new IntrospectionFragmentMatcher({
introspectionQueryResultData: introspectionResult
});
const cache = new InMemoryCache({
fragmentMatcher
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment