Commit 7f2e4e22 authored by Kerri Miller's avatar Kerri Miller

Merge branch 'remove-resolver-for-milestone-on-merge_request_type' into 'master'

Use default resolver for milestone on MergeRequestType

See merge request gitlab-org/gitlab!46689
parents 7d8753cb fd075839
......@@ -118,8 +118,7 @@ module Types
resolver: Resolvers::MergeRequestPipelinesResolver
field :milestone, Types::MilestoneType, null: true,
description: 'The milestone of the merge request',
resolve: -> (obj, _args, _ctx) { Gitlab::Graphql::Loaders::BatchModelLoader.new(Milestone, obj.milestone_id).find }
description: 'The milestone of the merge request'
field :assignees, Types::UserType.connection_type, null: true, complexity: 5,
description: 'Assignees of the merge request'
field :author, Types::UserType, null: true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment