summaryrefslogtreecommitdiff
path: root/app/graphql/types/commit_type.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-09-13 13:26:31 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-09-13 13:26:31 +0000
commitb7dfe2ae4054aa40e15182fd3c6cb7dd39f131db (patch)
tree5ab080ca9cadeb6cd9578bf301e4e9e8810bed9e /app/graphql/types/commit_type.rb
parent25cb337cf12438169f1b14bc5dace8a06a7356e3 (diff)
downloadgitlab-ce-b7dfe2ae4054aa40e15182fd3c6cb7dd39f131db.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/types/commit_type.rb')
-rw-r--r--app/graphql/types/commit_type.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/graphql/types/commit_type.rb b/app/graphql/types/commit_type.rb
index d73dd73affd..dd2d81adb8b 100644
--- a/app/graphql/types/commit_type.rb
+++ b/app/graphql/types/commit_type.rb
@@ -8,16 +8,16 @@ module Types
present_using CommitPresenter
- field :id, type: GraphQL::ID_TYPE, null: false
- field :sha, type: GraphQL::STRING_TYPE, null: false
- field :title, type: GraphQL::STRING_TYPE, null: true
- field :description, type: GraphQL::STRING_TYPE, null: true
- field :message, type: GraphQL::STRING_TYPE, null: true
- field :authored_date, type: Types::TimeType, null: true
- field :web_url, type: GraphQL::STRING_TYPE, null: false
+ field :id, type: GraphQL::ID_TYPE, null: false # rubocop:disable Graphql/Descriptions
+ field :sha, type: GraphQL::STRING_TYPE, null: false # rubocop:disable Graphql/Descriptions
+ field :title, type: GraphQL::STRING_TYPE, null: true # rubocop:disable Graphql/Descriptions
+ field :description, type: GraphQL::STRING_TYPE, null: true # rubocop:disable Graphql/Descriptions
+ field :message, type: GraphQL::STRING_TYPE, null: true # rubocop:disable Graphql/Descriptions
+ field :authored_date, type: Types::TimeType, null: true # rubocop:disable Graphql/Descriptions
+ field :web_url, type: GraphQL::STRING_TYPE, null: false # rubocop:disable Graphql/Descriptions
# models/commit lazy loads the author by email
- field :author, type: Types::UserType, null: true
+ field :author, type: Types::UserType, null: true # rubocop:disable Graphql/Descriptions
field :latest_pipeline,
type: Types::Ci::PipelineType,