Implementation: Batch Comments API for Discussions (Comments on Code)
Background
As part of #321259 (closed) a Draft Notes API was introduced that allows comments to be created using the review functionality.
Currently, this mimics the Notes API in that it's designed for comments on the Overview
tab of the merge request and does NOT currently support comments on the changes that are submitted.
Proposal
We should extend the Draft Notes API
to also be like the Discussions API
in supporting comments with line positioning data.
Availability and Testing
Add request specs to ensure that comments on changes are tested.
Existing spec file: spec/requests/api/draft_notes_spec.rb
Edited by Jay McCure