Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c1cd6e99
Commit
c1cd6e99
authored
Jun 09, 2020
by
charlieablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove report pipeline from GraphQL
parent
384849e5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
ee/app/graphql/types/requirements_management/test_report_type.rb
...graphql/types/requirements_management/test_report_type.rb
+0
-4
ee/changelogs/unreleased/cablett-expose-build-id-requirement-report.yml
...unreleased/cablett-expose-build-id-requirement-report.yml
+5
-0
ee/spec/graphql/types/requirements_management/test_report_type_spec.rb
...ql/types/requirements_management/test_report_type_spec.rb
+1
-1
No files found.
ee/app/graphql/types/requirements_management/test_report_type.rb
View file @
c1cd6e99
...
...
@@ -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
...
...
ee/changelogs/unreleased/cablett-expose-build-id-requirement-report.yml
0 → 100644
View file @
c1cd6e99
---
title
:
De-expose requirement test report `pipeline` field from GraphQL
merge_request
:
34112
author
:
type
:
changed
ee/spec/graphql/types/requirements_management/test_report_type_spec.rb
View file @
c1cd6e99
...
...
@@ -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'
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment