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/group_type.rb')
-rw-r--r--app/graphql/types/group_type.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/graphql/types/group_type.rb b/app/graphql/types/group_type.rb
index 5f63aa20953..a94cd6fad20 100644
--- a/app/graphql/types/group_type.rb
+++ b/app/graphql/types/group_type.rb
@@ -209,8 +209,9 @@ module Types
field :work_item_types, Types::WorkItems::TypeType.connection_type,
resolver: Resolvers::WorkItems::TypesResolver,
- description: 'Work item types available to the group.',
- feature_flag: :work_items
+ description: 'Work item types available to the group.' \
+ ' Returns `null` if `work_items` feature flag is disabled.' \
+ ' This flag is disabled by default, because the feature is experimental and is subject to change without notice.'
def label(title:)
BatchLoader::GraphQL.for(title).batch(key: group) do |titles, loader, args|