Skip to content
Snippets Groups Projects

Add MergeRequestReader to chat

Merged Gosia Ksionek requested to merge mk-mr-for-chat into master
All threads resolved!
Compare and Show latest version
14 files
+ 184
146
Compare changes
  • Side-by-side
  • Inline
Files
14
# frozen_string_literal: true
class MergeRequestAiEntity < ::API::Entities::MergeRequestBasic
class MergeRequestAiEntity < ::API::Entities::MergeRequestBasic # rubocop:disable Gitlab/NamespacedClass -- serializer doesn't need module
expose :mr_comments do |_mr, options|
options[:resource].notes_with_limit(options[:user], notes_limit: options[:notes_limit] / 2)
end
Loading