(馃巵) Get merge request versions / diffs in GraphQL api
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=373205)
</details>
<!--IssueSummary end-->
# Problem
On a merge request, I want to create a discussion on a file in the diff view, to do this I need to know a line number that is appearing in the diff. If the discussion is created on a line that doesn't appear in the diff, then the discussion doesn't appear in the diff view, only the timeline view.
I want to get the diff of a file using GraphQL, but as far as I can tell this is not available.
This does appear to be available in the REST API though: https://docs.gitlab.com/ee/api/merge_requests.html#get-a-single-mr-diff-version
issue