List of commits in merge request on GraphQL API
Release notes
Check the list of commits in a MR with the GraphQL API.
Problem to solve
As a developer of an open source project that forked from another one, I want to get a list of commits to a specific MR, so I can merge specific patches.
Intended users
Unknown
User experience goal
The user should be able to use just the GraphQL API for all MR details, without a need to fallback to the v4 REST API.
Proposal
Include the commit list in the GraphQL API responses.
Further details
Equivalent of https://docs.gitlab.com/ee/api/merge_requests.html#get-single-mr-commits
Permissions and Security
The checks are already made to access the project and other MR details in query
Documentation
Availability & Testing
Available Tier
Free