Commit 2ca2fea2 authored by Illya Klymov's avatar Illya Klymov

Merge branch 'apollo-immutable-result-ci-lint' into 'master'

Enable assumeImmutableResults to Apollo client creation app/assets/javascripts/ci_lint/index.js

See merge request gitlab-org/gitlab!71105
parents 2623e47d 1481b6aa
...@@ -8,7 +8,9 @@ import CiLint from './components/ci_lint.vue'; ...@@ -8,7 +8,9 @@ import CiLint from './components/ci_lint.vue';
Vue.use(VueApollo); Vue.use(VueApollo);
const apolloProvider = new VueApollo({ const apolloProvider = new VueApollo({
defaultClient: createDefaultClient(resolvers), defaultClient: createDefaultClient(resolvers, {
assumeImmutableResults: true,
}),
}); });
export default (containerId = '#js-ci-lint') => { export default (containerId = '#js-ci-lint') => {
......
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