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:
Diffstat (limited to 'app/graphql/types/repository/blob_type.rb')
-rw-r--r--app/graphql/types/repository/blob_type.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/graphql/types/repository/blob_type.rb b/app/graphql/types/repository/blob_type.rb
index c5d6e26e94b..3959118631f 100644
--- a/app/graphql/types/repository/blob_type.rb
+++ b/app/graphql/types/repository/blob_type.rb
@@ -86,6 +86,9 @@ module Types
field :blame_path, GraphQL::Types::String, null: true,
description: 'Web path to blob blame page.'
+ field :blame, Types::Blame::BlameType, null: true,
+ description: 'Blob blame. Available only when feature flag `graphql_git_blame` is enabled.', alpha: { milestone: '16.3' }, resolver: Resolvers::BlameResolver
+
field :history_path, GraphQL::Types::String, null: true,
description: 'Web path to blob history page.'