debian-mirror-gitlab/app/assets/javascripts/registry/explorer/graphql/index.js

16 lines
299 B
JavaScript
Raw Normal View History

2021-02-22 17:27:13 +05:30
import Vue from 'vue';
import VueApollo from 'vue-apollo';
import createDefaultClient from '~/lib/graphql';
Vue.use(VueApollo);
export const apolloProvider = new VueApollo({
defaultClient: createDefaultClient(
{},
{
2021-03-08 18:12:59 +05:30
batchMax: 1,
2021-02-22 17:27:13 +05:30
assumeImmutableResults: true,
},
),
});