Commit 22fc532c authored by David O'Regan's avatar David O'Regan

Merge branch '329159-fix-console-warning-about-heuristic-matcher-on-issue-view' into 'master'

Resolve "Fix console warning about heuristic matcher on issue view"

See merge request gitlab-org/gitlab!60483
parents 8c1bf02c e8378cb4
{"__schema":{"types":[{"kind":"UNION","name":"Issuable","possibleTypes":[{"name":"Issue"},{"name":"MergeRequest"}]}, {"kind":"INTERFACE","name":"User","possibleTypes":[{"name":"UserCore"}]}]}}
import { IntrospectionFragmentMatcher } from 'apollo-cache-inmemory';
import VueApollo from 'vue-apollo';
import createDefaultClient from '~/lib/graphql';
import introspectionQueryResultData from './fragmentTypes.json';
export const defaultClient = createDefaultClient();
const fragmentMatcher = new IntrospectionFragmentMatcher({
introspectionQueryResultData,
});
export const defaultClient = createDefaultClient(
{},
{
cacheConfig: {
fragmentMatcher,
},
assumeImmutableResults: true,
},
);
export const apolloProvider = new VueApollo({
defaultClient,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment