Commit 1d01b728 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'remove-unused-graphql-configuration' into 'master'

Remove unused apollo configuration

See merge request gitlab-org/gitlab!35256
parents c1c7bfe8 945edfeb
import Vue from 'vue'; import Vue from 'vue';
import VueApollo from 'vue-apollo'; import VueApollo from 'vue-apollo';
import { IntrospectionFragmentMatcher } from 'apollo-cache-inmemory'; import { IntrospectionFragmentMatcher } from 'apollo-cache-inmemory';
import createDefaultClient, { fetchPolicies } from '~/lib/graphql'; import createDefaultClient from '~/lib/graphql';
import introspectionQueryResultData from './fragmentTypes.json'; import introspectionQueryResultData from './fragmentTypes.json';
Vue.use(VueApollo); Vue.use(VueApollo);
...@@ -21,13 +21,6 @@ const defaultClient = createDefaultClient( ...@@ -21,13 +21,6 @@ const defaultClient = createDefaultClient(
}, },
); );
export const vuexApolloClient = createDefaultClient(
{},
{
fetchPolicy: fetchPolicies.NO_CACHE,
},
);
export default new VueApollo({ export default new VueApollo({
defaultClient, 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