diff options
Diffstat (limited to 'lib/gitlab/graphql/calls_gitaly.rb')
-rw-r--r-- | lib/gitlab/graphql/calls_gitaly.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/graphql/calls_gitaly.rb b/lib/gitlab/graphql/calls_gitaly.rb index f75941e269f..40cd74a34f2 100644 --- a/lib/gitlab/graphql/calls_gitaly.rb +++ b/lib/gitlab/graphql/calls_gitaly.rb @@ -2,8 +2,8 @@ module Gitlab module Graphql - # Allow fields to declare permissions their objects must have. The field - # will be set to nil unless all required permissions are present. + # Wraps the field resolution to count Gitaly calls before and after. + # Raises an error if the field calls Gitaly but hadn't declared such. module CallsGitaly extend ActiveSupport::Concern |