Commit 1f0fca4f authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'cablett-graphql-description-tweak' into 'master'

Fix graphql description

See merge request gitlab-org/gitlab!28534
parents 626f1415 bc86213c
...@@ -4,11 +4,11 @@ module Resolvers ...@@ -4,11 +4,11 @@ module Resolvers
class MergeRequestsResolver < BaseResolver class MergeRequestsResolver < BaseResolver
argument :iid, GraphQL::STRING_TYPE, argument :iid, GraphQL::STRING_TYPE,
required: false, required: false,
description: 'The IID of the merge request, e.g., "1"' description: 'IID of the merge request, for example `1`'
argument :iids, [GraphQL::STRING_TYPE], argument :iids, [GraphQL::STRING_TYPE],
required: false, required: false,
description: 'The list of IIDs of issues, e.g., [1, 2]' description: 'Array of IIDs of merge requests, for example `[1, 2]`'
type Types::MergeRequestType, null: true type Types::MergeRequestType, null: true
......
...@@ -6147,12 +6147,12 @@ type Project { ...@@ -6147,12 +6147,12 @@ type Project {
""" """
mergeRequest( mergeRequest(
""" """
The IID of the merge request, e.g., "1" IID of the merge request, for example `1`
""" """
iid: String iid: String
""" """
The list of IIDs of issues, e.g., [1, 2] Array of IIDs of merge requests, for example `[1, 2]`
""" """
iids: [String!] iids: [String!]
): MergeRequest ): MergeRequest
...@@ -6177,12 +6177,12 @@ type Project { ...@@ -6177,12 +6177,12 @@ type Project {
first: Int first: Int
""" """
The IID of the merge request, e.g., "1" IID of the merge request, for example `1`
""" """
iid: String iid: String
""" """
The list of IIDs of issues, e.g., [1, 2] Array of IIDs of merge requests, for example `[1, 2]`
""" """
iids: [String!] iids: [String!]
......
...@@ -18471,7 +18471,7 @@ ...@@ -18471,7 +18471,7 @@
"args": [ "args": [
{ {
"name": "iid", "name": "iid",
"description": "The IID of the merge request, e.g., \"1\"", "description": "IID of the merge request, for example `1`",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
...@@ -18481,7 +18481,7 @@ ...@@ -18481,7 +18481,7 @@
}, },
{ {
"name": "iids", "name": "iids",
"description": "The list of IIDs of issues, e.g., [1, 2]", "description": "Array of IIDs of merge requests, for example `[1, 2]`",
"type": { "type": {
"kind": "LIST", "kind": "LIST",
"name": null, "name": null,
...@@ -18512,7 +18512,7 @@ ...@@ -18512,7 +18512,7 @@
"args": [ "args": [
{ {
"name": "iid", "name": "iid",
"description": "The IID of the merge request, e.g., \"1\"", "description": "IID of the merge request, for example `1`",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
...@@ -18522,7 +18522,7 @@ ...@@ -18522,7 +18522,7 @@
}, },
{ {
"name": "iids", "name": "iids",
"description": "The list of IIDs of issues, e.g., [1, 2]", "description": "Array of IIDs of merge requests, for example `[1, 2]`",
"type": { "type": {
"kind": "LIST", "kind": "LIST",
"name": null, "name": null,
......
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