Commit 4588d1c3 authored by charlie ablett's avatar charlie ablett

Merge branch 'eread/fix-id-capitalization-in-graphql' into 'master'

Fix capitalization of ID in GraphQL types

See merge request gitlab-org/gitlab!31282
parents a9ff2e3a f291416a
...@@ -14,7 +14,7 @@ module Types ...@@ -14,7 +14,7 @@ module Types
expose_permissions Types::PermissionTypes::Snippet expose_permissions Types::PermissionTypes::Snippet
field :id, GraphQL::ID_TYPE, field :id, GraphQL::ID_TYPE,
description: 'Id of the snippet', description: 'ID of the snippet',
null: false null: false
field :title, GraphQL::STRING_TYPE, field :title, GraphQL::STRING_TYPE,
......
...@@ -10,7 +10,7 @@ module Types ...@@ -10,7 +10,7 @@ module Types
authorize :read_todo authorize :read_todo
field :id, GraphQL::ID_TYPE, field :id, GraphQL::ID_TYPE,
description: 'Id of the todo', description: 'ID of the todo',
null: false null: false
field :project, Types::ProjectType, field :project, Types::ProjectType,
......
...@@ -9017,7 +9017,7 @@ type Snippet implements Noteable { ...@@ -9017,7 +9017,7 @@ type Snippet implements Noteable {
httpUrlToRepo: String httpUrlToRepo: String
""" """
Id of the snippet ID of the snippet
""" """
id: ID! id: ID!
...@@ -9463,7 +9463,7 @@ type Todo { ...@@ -9463,7 +9463,7 @@ type Todo {
group: Group group: Group
""" """
Id of the todo ID of the todo
""" """
id: ID! id: ID!
......
...@@ -26985,7 +26985,7 @@ ...@@ -26985,7 +26985,7 @@
}, },
{ {
"name": "id", "name": "id",
"description": "Id of the snippet", "description": "ID of the snippet",
"args": [ "args": [
], ],
...@@ -28412,7 +28412,7 @@ ...@@ -28412,7 +28412,7 @@
}, },
{ {
"name": "id", "name": "id",
"description": "Id of the todo", "description": "ID of the todo",
"args": [ "args": [
], ],
......
...@@ -1365,7 +1365,7 @@ Represents a snippet entry ...@@ -1365,7 +1365,7 @@ Represents a snippet entry
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` | | `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `fileName` | String | File Name of the snippet | | `fileName` | String | File Name of the snippet |
| `httpUrlToRepo` | String | HTTP URL to the snippet repository | | `httpUrlToRepo` | String | HTTP URL to the snippet repository |
| `id` | ID! | Id of the snippet | | `id` | ID! | ID of the snippet |
| `project` | Project | The project the snippet is associated with | | `project` | Project | The project the snippet is associated with |
| `rawUrl` | String! | Raw URL of the snippet | | `rawUrl` | String! | Raw URL of the snippet |
| `sshUrlToRepo` | String | SSH URL to the snippet repository | | `sshUrlToRepo` | String | SSH URL to the snippet repository |
...@@ -1460,7 +1460,7 @@ Representing a todo entry ...@@ -1460,7 +1460,7 @@ Representing a todo entry
| `body` | String! | Body of the todo | | `body` | String! | Body of the todo |
| `createdAt` | Time! | Timestamp this todo was created | | `createdAt` | Time! | Timestamp this todo was created |
| `group` | Group | Group this todo is associated with | | `group` | Group | Group this todo is associated with |
| `id` | ID! | Id of the todo | | `id` | ID! | ID of the todo |
| `project` | Project | The project this todo is associated with | | `project` | Project | The project this todo is associated with |
| `state` | TodoStateEnum! | State of the todo | | `state` | TodoStateEnum! | State of the todo |
| `targetType` | TodoTargetEnum! | Target type of the todo | | `targetType` | TodoTargetEnum! | Target type of the todo |
......
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