summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bigelow <sbigelow@gitlab.com>2019-06-14 16:38:31 -0400
committerSam Bigelow <sbigelow@gitlab.com>2019-06-14 16:39:46 -0400
commit1cc03a0b99b20653b95536ca07c295db8445e2e2 (patch)
tree17a30e5f4b911e2546416ae8566784d35016d445
parentad722a4e1f588382f5c5c1848c0502864993c7e7 (diff)
downloadgitlab-ce-63261-the-graphql-query-for-the-mr-popover-failes-on-the-frontend.tar.gz
Make IID string instead of ID in mr popover query63261-the-graphql-query-for-the-mr-popover-failes-on-the-frontend
-rw-r--r--app/assets/javascripts/mr_popover/queries/merge_request.graphql2
-rw-r--r--changelogs/unreleased/63261-the-graphql-query-for-the-mr-popover-failes-on-the-frontend.yml6
2 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/javascripts/mr_popover/queries/merge_request.graphql b/app/assets/javascripts/mr_popover/queries/merge_request.graphql
index 0bb9bc03bc7..37d4bc88a69 100644
--- a/app/assets/javascripts/mr_popover/queries/merge_request.graphql
+++ b/app/assets/javascripts/mr_popover/queries/merge_request.graphql
@@ -1,4 +1,4 @@
-query mergeRequest($projectPath: ID!, $mergeRequestIID: ID!) {
+query mergeRequest($projectPath: ID!, $mergeRequestIID: String!) {
project(fullPath: $projectPath) {
mergeRequest(iid: $mergeRequestIID) {
createdAt
diff --git a/changelogs/unreleased/63261-the-graphql-query-for-the-mr-popover-failes-on-the-frontend.yml b/changelogs/unreleased/63261-the-graphql-query-for-the-mr-popover-failes-on-the-frontend.yml
new file mode 100644
index 00000000000..87d74e3f4b4
--- /dev/null
+++ b/changelogs/unreleased/63261-the-graphql-query-for-the-mr-popover-failes-on-the-frontend.yml
@@ -0,0 +1,6 @@
+---
+title: Make sure we are receiving the proper information on the MR Popover by updating
+ the IID in the graphql query
+merge_request:
+author:
+type: fixed