Commit c1cd6e99 authored by charlieablett's avatar charlieablett

Remove report pipeline from GraphQL

parent 384849e5
......@@ -18,10 +18,6 @@ module Types
description: 'Author of the test report',
resolve: -> (obj, _args, _ctx) { Gitlab::Graphql::Loaders::BatchModelLoader.new(User, obj.author_id).find }
field :pipeline, Ci::PipelineType, null: true,
description: 'Pipeline that created the test report',
resolve: -> (obj, _args, _ctx) { Gitlab::Graphql::Loaders::BatchModelLoader.new(::Ci::Pipeline, obj.pipeline_id).find }
field :created_at, TimeType, null: false,
description: 'Timestamp of when the test report was created'
end
......
---
title: De-expose requirement test report `pipeline` field from GraphQL
merge_request: 34112
author:
type: changed
......@@ -3,7 +3,7 @@
require 'spec_helper'
RSpec.describe GitlabSchema.types['TestReport'] do
fields = %i[id state pipeline author created_at]
fields = %i[id state author created_at]
it { expect(described_class.graphql_name).to eq('TestReport') }
......
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