summaryrefslogtreecommitdiff
path: root/app/graphql/resolvers/full_path_resolver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/resolvers/full_path_resolver.rb')
-rw-r--r--app/graphql/resolvers/full_path_resolver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/graphql/resolvers/full_path_resolver.rb b/app/graphql/resolvers/full_path_resolver.rb
index b5e90da78b2..b8df54f49ab 100644
--- a/app/graphql/resolvers/full_path_resolver.rb
+++ b/app/graphql/resolvers/full_path_resolver.rb
@@ -5,9 +5,9 @@ module Resolvers
extend ActiveSupport::Concern
prepended do
- argument :full_path, GraphQL::ID_TYPE,
+ argument :full_path, GraphQL::Types::ID,
required: true,
- description: 'The full path of the project, group or namespace, e.g., `gitlab-org/gitlab-foss`.'
+ description: 'Full path of the project, group, or namespace. For example, `gitlab-org/gitlab-foss`.'
end
def model_by_full_path(model, full_path)