Commit fa2bff4d authored by Jannik Lehmann's avatar Jannik Lehmann

Enable `assumeImmutableResults` in project merge options

This commit solves https://gitlab.com/gitlab-org/gitlab/-/issues/338568
It enables `assumeImmutableResults` in the project merge options.
parent 7492453a
......@@ -46,7 +46,8 @@ const initMergeOptions = (mergePipelinesEnabled, mergeTrainsEnabled) => {
const fetchMergeOptions = () => {
const containerEl = document.querySelector('#project-merge-options');
const { projectFullPath } = containerEl.dataset;
const defaultClient = createDefaultClient();
const defaultClient = createDefaultClient({}, { assumeImmutableResults: true });
return defaultClient
.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