diff options
author | Luke Duncalfe <lduncalfe@eml.cc> | 2019-07-02 06:17:02 +0300 |
---|---|---|
committer | Luke Duncalfe <lduncalfe@eml.cc> | 2019-07-10 03:13:48 +0300 |
commit | 254f78f5dc36d4aef26d1ab2a924e4fa916221c6 (patch) | |
tree | 27ce30b82a722d7d565b36633befd4355f284b66 /app/graphql/types/notes/diff_position_type.rb | |
parent | a00a23ca828488ae343e02d8528bb94936d0e624 (diff) |
Expose diff_refs on MergeRequestType
https://gitlab.com/gitlab-org/gitlab-ee/issues/9489
Diffstat (limited to 'app/graphql/types/notes/diff_position_type.rb')
-rw-r--r-- | app/graphql/types/notes/diff_position_type.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/graphql/types/notes/diff_position_type.rb b/app/graphql/types/notes/diff_position_type.rb index ebc24451715..6a0377fbfdf 100644 --- a/app/graphql/types/notes/diff_position_type.rb +++ b/app/graphql/types/notes/diff_position_type.rb @@ -7,12 +7,7 @@ module Types class DiffPositionType < BaseObject graphql_name 'DiffPosition' - field :head_sha, GraphQL::STRING_TYPE, null: false, - description: "The sha of the head at the time the comment was made" - field :base_sha, GraphQL::STRING_TYPE, null: true, - description: "The merge base of the branch the comment was made on" - field :start_sha, GraphQL::STRING_TYPE, null: false, - description: "The sha of the branch being compared against" + field :diff_refs, Types::DiffRefsType, null: false field :file_path, GraphQL::STRING_TYPE, null: false, description: "The path of the file that was changed" |