Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-17 12:16:42 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-17 12:16:42 +0300
commit0a6f65ec4bf528236fd43ed1162bbb3297ed6337 (patch)
tree9e90148180bdfc4b4e40a51c0c8e8b0e19d44bb7 /doc/development/api_graphql_styleguide.md
parent447ad4732772923e4c4221d6913258f4ef99639f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/api_graphql_styleguide.md')
-rw-r--r--doc/development/api_graphql_styleguide.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/development/api_graphql_styleguide.md b/doc/development/api_graphql_styleguide.md
index 426a235823f..3ce794514a3 100644
--- a/doc/development/api_graphql_styleguide.md
+++ b/doc/development/api_graphql_styleguide.md
@@ -294,13 +294,13 @@ or by calling `#to_global_id` on an object that has mixed in the
`GlobalID::Identification` module.
Using an example from
-[`Types::Notes::DiscussionType`](https://gitlab.com/gitlab-org/gitlab/-/blob/3c95bd9/app/graphql/types/notes/discussion_type.rb#L24-26):
+[`Types::Notes::DiscussionType`](https://gitlab.com/gitlab-org/gitlab/-/blob/af48df44/app/graphql/types/notes/discussion_type.rb#L22-30):
```ruby
-field :reply_id, GraphQL::Types::ID
+field :reply_id, Types::GlobalIDType[Discussion]
def reply_id
- ::Gitlab::GlobalId.build(object, id: object.reply_id)
+ Gitlab::GlobalId.build(object, id: object.reply_id)
end
```