Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0555831e
Commit
0555831e
authored
Nov 01, 2021
by
Natalia Tepluhina
Committed by
Vitaly Slobodin
Nov 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable `assumeImmutableResults` for the last apps in the codebase
parent
5f4df28b
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
8 deletions
+17
-8
app/assets/javascripts/clusters/agents/index.js
app/assets/javascripts/clusters/agents/index.js
+6
-1
app/assets/javascripts/pages/projects/merge_requests/init_merge_request_show.js
.../pages/projects/merge_requests/init_merge_request_show.js
+1
-2
app/assets/javascripts/projects/terraform_notification/index.js
...sets/javascripts/projects/terraform_notification/index.js
+1
-1
ee/app/assets/javascripts/analytics/cycle_analytics/index.js
ee/app/assets/javascripts/analytics/cycle_analytics/index.js
+6
-1
ee/app/assets/javascripts/analytics/merge_request_analytics/index.js
...ts/javascripts/analytics/merge_request_analytics/index.js
+1
-1
ee/app/assets/javascripts/test_case_list/test_case_list_bundle.js
...ssets/javascripts/test_case_list/test_case_list_bundle.js
+1
-1
ee/app/assets/javascripts/vue_shared/components/sidebar/iterations_dropdown_bundle.js
...e_shared/components/sidebar/iterations_dropdown_bundle.js
+1
-1
No files found.
app/assets/javascripts/clusters/agents/index.js
View file @
0555831e
...
@@ -12,7 +12,12 @@ export default () => {
...
@@ -12,7 +12,12 @@ export default () => {
return
null
;
return
null
;
}
}
const
defaultClient
=
createDefaultClient
();
const
defaultClient
=
createDefaultClient
(
{},
{
assumeImmutableResults
:
true
,
},
);
const
{
agentName
,
projectPath
}
=
el
.
dataset
;
const
{
agentName
,
projectPath
}
=
el
.
dataset
;
return
new
Vue
({
return
new
Vue
({
...
...
app/assets/javascripts/pages/projects/merge_requests/init_merge_request_show.js
View file @
0555831e
...
@@ -28,8 +28,7 @@ export default function initMergeRequestShow() {
...
@@ -28,8 +28,7 @@ export default function initMergeRequestShow() {
const
el
=
document
.
querySelector
(
'
.js-mr-status-box
'
);
const
el
=
document
.
querySelector
(
'
.js-mr-status-box
'
);
const
apolloProvider
=
new
VueApollo
({
const
apolloProvider
=
new
VueApollo
({
assumeImmutableResults
:
true
,
defaultClient
:
createDefaultClient
({},
{
assumeImmutableResults
:
true
}),
defaultClient
:
createDefaultClient
(),
});
});
// eslint-disable-next-line no-new
// eslint-disable-next-line no-new
new
Vue
({
new
Vue
({
...
...
app/assets/javascripts/projects/terraform_notification/index.js
View file @
0555831e
...
@@ -6,7 +6,7 @@ import TerraformNotification from './components/terraform_notification.vue';
...
@@ -6,7 +6,7 @@ import TerraformNotification from './components/terraform_notification.vue';
Vue
.
use
(
VueApollo
);
Vue
.
use
(
VueApollo
);
const
apolloProvider
=
new
VueApollo
({
const
apolloProvider
=
new
VueApollo
({
defaultClient
:
createDefaultClient
(),
defaultClient
:
createDefaultClient
(
{},
{
assumeImmtableResults
:
true
}
),
});
});
export
default
()
=>
{
export
default
()
=>
{
...
...
ee/app/assets/javascripts/analytics/cycle_analytics/index.js
View file @
0555831e
...
@@ -14,7 +14,12 @@ Vue.use(GlToast);
...
@@ -14,7 +14,12 @@ Vue.use(GlToast);
Vue
.
use
(
VueApollo
);
Vue
.
use
(
VueApollo
);
const
apolloProvider
=
new
VueApollo
({
const
apolloProvider
=
new
VueApollo
({
defaultClient
:
createDefaultClient
(),
defaultClient
:
createDefaultClient
(
{},
{
assumeImmutableResults
:
true
,
},
),
});
});
export
default
()
=>
{
export
default
()
=>
{
...
...
ee/app/assets/javascripts/analytics/merge_request_analytics/index.js
View file @
0555831e
...
@@ -11,7 +11,7 @@ import { parseAndValidateDates } from './utils';
...
@@ -11,7 +11,7 @@ import { parseAndValidateDates } from './utils';
Vue
.
use
(
VueApollo
);
Vue
.
use
(
VueApollo
);
const
apolloProvider
=
new
VueApollo
({
const
apolloProvider
=
new
VueApollo
({
defaultClient
:
createDefaultClient
(),
defaultClient
:
createDefaultClient
(
{},
{
assumeImmutableResults
:
true
}
),
});
});
export
default
()
=>
{
export
default
()
=>
{
...
...
ee/app/assets/javascripts/test_case_list/test_case_list_bundle.js
View file @
0555831e
...
@@ -19,7 +19,7 @@ const initTestCaseList = ({ mountPointSelector }) => {
...
@@ -19,7 +19,7 @@ const initTestCaseList = ({ mountPointSelector }) => {
}
}
const
apolloProvider
=
new
VueApollo
({
const
apolloProvider
=
new
VueApollo
({
defaultClient
:
createDefaultClient
(),
defaultClient
:
createDefaultClient
(
{},
{
assumeImmutableResults
:
true
}
),
});
});
const
{
const
{
...
...
ee/app/assets/javascripts/vue_shared/components/sidebar/iterations_dropdown_bundle.js
View file @
0555831e
...
@@ -15,7 +15,7 @@ export default function initIterationsDropdownBundle() {
...
@@ -15,7 +15,7 @@ export default function initIterationsDropdownBundle() {
}
}
const
apolloProvider
=
new
VueApollo
({
const
apolloProvider
=
new
VueApollo
({
defaultClient
:
createDefaultClient
(),
defaultClient
:
createDefaultClient
(
{},
{
assumeImmutableResults
:
true
}
),
});
});
const
{
fullPath
}
=
el
.
dataset
;
const
{
fullPath
}
=
el
.
dataset
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment