summaryrefslogtreecommitdiff
path: root/app/graphql/types/group_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/group_type.rb')
-rw-r--r--app/graphql/types/group_type.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/graphql/types/group_type.rb b/app/graphql/types/group_type.rb
index 0aaeb8d20df..7a84e76657b 100644
--- a/app/graphql/types/group_type.rb
+++ b/app/graphql/types/group_type.rb
@@ -95,6 +95,10 @@ module Types
field :container_repositories_count, GraphQL::INT_TYPE, null: false,
description: 'Number of container repositories in the group.'
+ field :packages,
+ description: 'Packages of the group.',
+ resolver: Resolvers::GroupPackagesResolver
+
def label(title:)
BatchLoader::GraphQL.for(title).batch(key: group) do |titles, loader, args|
LabelsFinder