debian-mirror-gitlab/app/assets/javascripts/registry/explorer/graphql/index.js
2021-03-08 18:12:59 +05:30

15 lines
299 B
JavaScript

import Vue from 'vue';
import VueApollo from 'vue-apollo';
import createDefaultClient from '~/lib/graphql';
Vue.use(VueApollo);
export const apolloProvider = new VueApollo({
defaultClient: createDefaultClient(
{},
{
batchMax: 1,
assumeImmutableResults: true,
},
),
});