Commit 825b82b7 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'jnnkl-immutable-mr-options' into 'master'

Enable `assumeImmutableResults` in project merge options

See merge request gitlab-org/gitlab!69066
parents 17d2fb77 fa2bff4d
...@@ -46,7 +46,8 @@ const initMergeOptions = (mergePipelinesEnabled, mergeTrainsEnabled) => { ...@@ -46,7 +46,8 @@ const initMergeOptions = (mergePipelinesEnabled, mergeTrainsEnabled) => {
const fetchMergeOptions = () => { const fetchMergeOptions = () => {
const containerEl = document.querySelector('#project-merge-options'); const containerEl = document.querySelector('#project-merge-options');
const { projectFullPath } = containerEl.dataset; const { projectFullPath } = containerEl.dataset;
const defaultClient = createDefaultClient();
const defaultClient = createDefaultClient({}, { assumeImmutableResults: true });
return defaultClient return defaultClient
.query({ .query({
......
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