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
c7ed4b47
Commit
c7ed4b47
authored
Aug 25, 2021
by
Luke Duncalfe
Committed by
Stan Hu
Aug 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rubocop Graphql/Description offenses
parent
20ced226
Changes
27
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
127 additions
and
151 deletions
+127
-151
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-24
app/graphql/types/design_management/design_at_version_type.rb
...graphql/types/design_management/design_at_version_type.rb
+2
-2
app/graphql/types/design_management/design_fields.rb
app/graphql/types/design_management/design_fields.rb
+8
-8
app/graphql/types/diff_paths_input_type.rb
app/graphql/types/diff_paths_input_type.rb
+2
-2
app/graphql/types/environment_type.rb
app/graphql/types/environment_type.rb
+2
-2
app/graphql/types/eventable_type.rb
app/graphql/types/eventable_type.rb
+1
-1
app/graphql/types/group_type.rb
app/graphql/types/group_type.rb
+3
-3
app/graphql/types/merge_request_type.rb
app/graphql/types/merge_request_type.rb
+3
-3
app/graphql/types/metadata/kas_type.rb
app/graphql/types/metadata/kas_type.rb
+1
-1
app/graphql/types/milestone_wildcard_id_enum.rb
app/graphql/types/milestone_wildcard_id_enum.rb
+1
-1
app/graphql/types/namespace_type.rb
app/graphql/types/namespace_type.rb
+1
-1
app/graphql/types/notes/note_type.rb
app/graphql/types/notes/note_type.rb
+2
-2
app/graphql/types/notes/position_type_enum.rb
app/graphql/types/notes/position_type_enum.rb
+1
-1
app/graphql/types/packages/composer/json_type.rb
app/graphql/types/packages/composer/json_type.rb
+4
-4
app/graphql/types/packages/package_details_type.rb
app/graphql/types/packages/package_details_type.rb
+1
-1
app/graphql/types/packages/package_file_type.rb
app/graphql/types/packages/package_file_type.rb
+2
-2
app/graphql/types/packages/package_tag_type.rb
app/graphql/types/packages/package_tag_type.rb
+4
-4
app/graphql/types/packages/package_type.rb
app/graphql/types/packages/package_type.rb
+1
-1
app/graphql/types/project_type.rb
app/graphql/types/project_type.rb
+3
-3
app/graphql/types/prometheus_alert_type.rb
app/graphql/types/prometheus_alert_type.rb
+1
-1
app/graphql/types/query_type.rb
app/graphql/types/query_type.rb
+3
-3
app/graphql/types/range_input_type.rb
app/graphql/types/range_input_type.rb
+2
-2
app/graphql/types/release_asset_link_shared_input_arguments.rb
...raphql/types/release_asset_link_shared_input_arguments.rb
+1
-1
app/graphql/types/release_assets_input_type.rb
app/graphql/types/release_assets_input_type.rb
+1
-1
app/graphql/types/release_type.rb
app/graphql/types/release_type.rb
+1
-1
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+74
-74
spec/tooling/graphql/docs/renderer_spec.rb
spec/tooling/graphql/docs/renderer_spec.rb
+2
-2
No files found.
.rubocop_manual_todo.yml
View file @
c7ed4b47
...
...
@@ -23,30 +23,6 @@ Graphql/Descriptions:
-
'
ee/app/graphql/types/vulnerability_severity_enum.rb'
-
'
ee/app/graphql/types/vulnerability_state_enum.rb'
-
'
ee/app/graphql/types/vulnerability_confidence_enum.rb'
-
'
app/graphql/types/design_management/design_at_version_type.rb'
-
'
app/graphql/types/design_management/design_fields.rb'
-
'
app/graphql/types/diff_paths_input_type.rb'
-
'
app/graphql/types/environment_type.rb'
-
'
app/graphql/types/eventable_type.rb'
-
'
app/graphql/types/group_type.rb'
-
'
app/graphql/types/merge_request_type.rb'
-
'
app/graphql/types/metadata/kas_type.rb'
-
'
app/graphql/types/milestone_wildcard_id_enum.rb'
-
'
app/graphql/types/namespace_type.rb'
-
'
app/graphql/types/notes/note_type.rb'
-
'
app/graphql/types/notes/position_type_enum.rb'
-
'
app/graphql/types/packages/composer/json_type.rb'
-
'
app/graphql/types/packages/package_details_type.rb'
-
'
app/graphql/types/packages/package_file_type.rb'
-
'
app/graphql/types/packages/package_tag_type.rb'
-
'
app/graphql/types/packages/package_type.rb'
-
'
app/graphql/types/project_type.rb'
-
'
app/graphql/types/prometheus_alert_type.rb'
-
'
app/graphql/types/query_type.rb'
-
'
app/graphql/types/range_input_type.rb'
-
'
app/graphql/types/release_asset_link_shared_input_arguments.rb'
-
'
app/graphql/types/release_assets_input_type.rb'
-
'
app/graphql/types/release_type.rb'
-
'
app/graphql/types/repository/blob_type.rb'
-
'
app/graphql/types/root_storage_statistics_type.rb'
-
'
app/graphql/types/snippet_type.rb'
...
...
app/graphql/types/design_management/design_at_version_type.rb
View file @
c7ed4b47
...
...
@@ -18,12 +18,12 @@ module Types
field
:version
,
Types
::
DesignManagement
::
VersionType
,
null:
false
,
description:
'
The v
ersion this design-at-versions is pinned to.'
description:
'
V
ersion this design-at-versions is pinned to.'
field
:design
,
Types
::
DesignManagement
::
DesignType
,
null:
false
,
description:
'
The u
nderlying design.'
description:
'
U
nderlying design.'
def
cached_stateful_version
(
_parent
)
version
...
...
app/graphql/types/design_management/design_fields.rb
View file @
c7ed4b47
...
...
@@ -7,12 +7,12 @@ module Types
field_class
Types
::
BaseField
field
:id
,
GraphQL
::
Types
::
ID
,
description:
'
The
ID of this design.'
,
null:
false
field
:project
,
Types
::
ProjectType
,
null:
false
,
description:
'
The p
roject the design belongs to.'
field
:issue
,
Types
::
IssueType
,
null:
false
,
description:
'
The i
ssue the design belongs to.'
field
:filename
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'
The f
ilename of the design.'
field
:full_path
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'
The f
ull path to the design file.'
field
:image
,
GraphQL
::
Types
::
String
,
null:
false
,
extras:
[
:parent
],
description:
'
The
URL of the full-sized image.'
field
:id
,
GraphQL
::
Types
::
ID
,
description:
'ID of this design.'
,
null:
false
field
:project
,
Types
::
ProjectType
,
null:
false
,
description:
'
P
roject the design belongs to.'
field
:issue
,
Types
::
IssueType
,
null:
false
,
description:
'
I
ssue the design belongs to.'
field
:filename
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'
F
ilename of the design.'
field
:full_path
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'
F
ull path to the design file.'
field
:image
,
GraphQL
::
Types
::
String
,
null:
false
,
extras:
[
:parent
],
description:
'URL of the full-sized image.'
field
:image_v432x230
,
GraphQL
::
Types
::
String
,
null:
true
,
extras:
[
:parent
],
description:
'The URL of the design resized to fit within the bounds of 432x230. '
\
'This will be `null` if the image has not been generated'
...
...
@@ -20,7 +20,7 @@ module Types
null:
false
,
calls_gitaly:
true
,
extras:
[
:parent
],
description:
'
The d
iff refs for this design.'
description:
'
D
iff refs for this design.'
field
:event
,
Types
::
DesignManagement
::
DesignVersionEventEnum
,
null:
false
,
extras:
[
:parent
],
...
...
@@ -29,7 +29,7 @@ module Types
GraphQL
::
Types
::
Int
,
null:
false
,
method: :user_notes_count
,
description:
'T
he t
otal count of user-created notes for this design.'
description:
'Total count of user-created notes for this design.'
def
diff_refs
(
parent
:)
version
=
cached_stateful_version
(
parent
)
...
...
app/graphql/types/diff_paths_input_type.rb
View file @
c7ed4b47
...
...
@@ -3,8 +3,8 @@
module
Types
class
DiffPathsInputType
<
BaseInputObject
argument
:old_path
,
GraphQL
::
Types
::
String
,
required:
false
,
description:
'
The path of the file on the start sha
.'
description:
'
Path of the file on the start SHA
.'
argument
:new_path
,
GraphQL
::
Types
::
String
,
required:
false
,
description:
'
The path of the file on the head sha
.'
description:
'
Path of the file on the HEAD SHA
.'
end
end
app/graphql/types/environment_type.rb
View file @
c7ed4b47
...
...
@@ -19,7 +19,7 @@ module Types
description:
'State of the environment, for example: available/stopped.'
field
:path
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'
The p
ath to the environment.'
description:
'
P
ath to the environment.'
field
:metrics_dashboard
,
Types
::
Metrics
::
DashboardType
,
null:
true
,
description:
'Metrics dashboard schema for the environment.'
,
...
...
@@ -28,6 +28,6 @@ module Types
field
:latest_opened_most_severe_alert
,
Types
::
AlertManagement
::
AlertType
,
null:
true
,
description:
'
The m
ost severe open alert for the environment. If multiple alerts have equal severity, the most recent is returned.'
description:
'
M
ost severe open alert for the environment. If multiple alerts have equal severity, the most recent is returned.'
end
end
app/graphql/types/eventable_type.rb
View file @
c7ed4b47
...
...
@@ -4,6 +4,6 @@ module Types
module
EventableType
include
Types
::
BaseInterface
field
:events
,
Types
::
EventType
.
connection_type
,
null:
true
,
description:
'
A l
ist of events associated with the object.'
field
:events
,
Types
::
EventType
.
connection_type
,
null:
true
,
description:
'
L
ist of events associated with the object.'
end
end
app/graphql/types/group_type.rb
View file @
c7ed4b47
...
...
@@ -33,12 +33,12 @@ module Types
type:
GraphQL
::
Types
::
String
,
null:
true
,
method: :project_creation_level_str
,
description:
'
The p
ermission level required to create projects in the group.'
description:
'
P
ermission level required to create projects in the group.'
field
:subgroup_creation_level
,
type:
GraphQL
::
Types
::
String
,
null:
true
,
method: :subgroup_creation_level_str
,
description:
'
The p
ermission level required to create subgroups within the group.'
description:
'
P
ermission level required to create subgroups within the group.'
field
:require_two_factor_authentication
,
type:
GraphQL
::
Types
::
Boolean
,
...
...
@@ -101,7 +101,7 @@ module Types
field
:label
,
Types
::
LabelType
,
null:
true
,
description:
'
A l
abel available on this group.'
do
description:
'
L
abel available on this group.'
do
argument
:title
,
type:
GraphQL
::
Types
::
String
,
required:
true
,
...
...
app/graphql/types/merge_request_type.rb
View file @
c7ed4b47
...
...
@@ -64,7 +64,7 @@ module Types
description:
'Diff head SHA of the merge request.'
field
:diff_stats
,
[
Types
::
DiffStatsType
],
null:
true
,
calls_gitaly:
true
,
description:
'Details about which files were changed in this merge request.'
do
argument
:path
,
GraphQL
::
Types
::
String
,
required:
false
,
description:
'
A specific file-
path.'
argument
:path
,
GraphQL
::
Types
::
String
,
required:
false
,
description:
'
Specific file
path.'
end
field
:diff_stats_summary
,
Types
::
DiffStatsSummaryType
,
null:
true
,
calls_gitaly:
true
,
...
...
@@ -129,14 +129,14 @@ module Types
description:
'Number of downvotes for the merge request.'
field
:head_pipeline
,
Types
::
Ci
::
PipelineType
,
null:
true
,
method: :actual_head_pipeline
,
description:
'
The p
ipeline running on the branch HEAD of the merge request.'
description:
'
P
ipeline running on the branch HEAD of the merge request.'
field
:pipelines
,
null:
true
,
description:
'Pipelines for the merge request. Note: for performance reasons, no more than the most recent 500 pipelines will be returned.'
,
resolver:
Resolvers
::
MergeRequestPipelinesResolver
field
:milestone
,
Types
::
MilestoneType
,
null:
true
,
description:
'
The m
ilestone of the merge request.'
description:
'
M
ilestone of the merge request.'
field
:assignees
,
type:
Types
::
MergeRequests
::
AssigneeType
.
connection_type
,
null:
true
,
...
...
app/graphql/types/metadata/kas_type.rb
View file @
c7ed4b47
...
...
@@ -12,7 +12,7 @@ module Types
field
:version
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'KAS version.'
field
:external_url
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'
The
URL used by the Agents to communicate with KAS.'
description:
'URL used by the Agents to communicate with KAS.'
end
end
end
app/graphql/types/milestone_wildcard_id_enum.rb
View file @
c7ed4b47
...
...
@@ -6,7 +6,7 @@ module Types
description
'Milestone ID wildcard values'
value
'NONE'
,
'No milestone is assigned.'
value
'ANY'
,
'
A m
ilestone is assigned.'
value
'ANY'
,
'
M
ilestone is assigned.'
value
'STARTED'
,
'An open, started milestone (start date <= today).'
value
'UPCOMING'
,
'An open milestone due in the future (due date >= today).'
end
...
...
app/graphql/types/namespace_type.rb
View file @
c7ed4b47
...
...
@@ -40,7 +40,7 @@ module Types
field
:package_settings
,
Types
::
Namespace
::
PackageSettingsType
,
null:
true
,
description:
'
The p
ackage settings for the namespace.'
description:
'
P
ackage settings for the namespace.'
field
:shared_runners_setting
,
Types
::
Namespace
::
SharedRunnersSettingEnum
,
...
...
app/graphql/types/notes/note_type.rb
View file @
c7ed4b47
...
...
@@ -40,9 +40,9 @@ module Types
field
:updated_at
,
Types
::
TimeType
,
null:
false
,
description:
"Timestamp of the note's last activity."
field
:discussion
,
Types
::
Notes
::
DiscussionType
,
null:
true
,
description:
'
The d
iscussion this note is a part of.'
description:
'
D
iscussion this note is a part of.'
field
:position
,
Types
::
Notes
::
DiffPositionType
,
null:
true
,
description:
'
The p
osition of this note on a diff.'
description:
'
P
osition of this note on a diff.'
field
:confidential
,
GraphQL
::
Types
::
Boolean
,
null:
true
,
description:
'Indicates if this note is confidential.'
,
method: :confidential?
...
...
app/graphql/types/notes/position_type_enum.rb
View file @
c7ed4b47
...
...
@@ -6,7 +6,7 @@ module Types
graphql_name
'DiffPositionType'
description
'Type of file the position refers to'
value
'text'
,
description:
"
A t
ext file."
value
'text'
,
description:
"
T
ext file."
value
'image'
,
description:
"An image."
end
end
...
...
app/graphql/types/packages/composer/json_type.rb
View file @
c7ed4b47
...
...
@@ -8,10 +8,10 @@ module Types
graphql_name
'PackageComposerJsonType'
description
'Represents a composer JSON file'
field
:name
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'
The n
ame set in the Composer JSON file.'
field
:type
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'T
he t
ype set in the Composer JSON file.'
field
:license
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'
The l
icense set in the Composer JSON file.'
field
:version
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'
The v
ersion set in the Composer JSON file.'
field
:name
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'
N
ame set in the Composer JSON file.'
field
:type
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'Type set in the Composer JSON file.'
field
:license
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'
L
icense set in the Composer JSON file.'
field
:version
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'
V
ersion set in the Composer JSON file.'
end
end
end
...
...
app/graphql/types/packages/package_details_type.rb
View file @
c7ed4b47
...
...
@@ -8,7 +8,7 @@ module Types
authorize
:read_package
field
:versions
,
::
Types
::
Packages
::
PackageType
.
connection_type
,
null:
true
,
description:
'
The o
ther versions of the package.'
description:
'
O
ther versions of the package.'
field
:package_files
,
Types
::
Packages
::
PackageFileType
.
connection_type
,
null:
true
,
description:
'Package files.'
...
...
app/graphql/types/packages/package_file_type.rb
View file @
c7ed4b47
...
...
@@ -8,8 +8,8 @@ module Types
authorize
:read_package
field
:id
,
::
Types
::
GlobalIDType
[
::
Packages
::
PackageFile
],
null:
false
,
description:
'ID of the file.'
field
:created_at
,
Types
::
TimeType
,
null:
false
,
description:
'
The c
reated date.'
field
:updated_at
,
Types
::
TimeType
,
null:
false
,
description:
'
The u
pdated date.'
field
:created_at
,
Types
::
TimeType
,
null:
false
,
description:
'
C
reated date.'
field
:updated_at
,
Types
::
TimeType
,
null:
false
,
description:
'
U
pdated date.'
field
:size
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'Size of the package file.'
field
:file_name
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'Name of the package file.'
field
:download_path
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'Download path of the package file.'
...
...
app/graphql/types/packages/package_tag_type.rb
View file @
c7ed4b47
...
...
@@ -7,10 +7,10 @@ module Types
description
'Represents a package tag'
authorize
:read_package
field
:id
,
GraphQL
::
Types
::
ID
,
null:
false
,
description:
'
The
ID of the tag.'
field
:name
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'
The n
ame of the tag.'
field
:created_at
,
Types
::
TimeType
,
null:
false
,
description:
'
The c
reated date.'
field
:updated_at
,
Types
::
TimeType
,
null:
false
,
description:
'
The u
pdated date.'
field
:id
,
GraphQL
::
Types
::
ID
,
null:
false
,
description:
'ID of the tag.'
field
:name
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'
N
ame of the tag.'
field
:created_at
,
Types
::
TimeType
,
null:
false
,
description:
'
C
reated date.'
field
:updated_at
,
Types
::
TimeType
,
null:
false
,
description:
'
U
pdated date.'
end
end
end
app/graphql/types/packages/package_type.rb
View file @
c7ed4b47
...
...
@@ -23,7 +23,7 @@ module Types
field
:metadata
,
Types
::
Packages
::
MetadataType
,
null:
true
,
description:
'Package metadata.'
field
:versions
,
::
Types
::
Packages
::
PackageType
.
connection_type
,
null:
true
,
description:
'
The o
ther versions of the package.'
,
description:
'
O
ther versions of the package.'
,
deprecated:
{
reason:
'This field is now only returned in the PackageDetailsType'
,
milestone:
'13.11'
}
field
:status
,
Types
::
Packages
::
PackageStatusEnum
,
null:
false
,
description:
'Package status.'
...
...
app/graphql/types/project_type.rb
View file @
c7ed4b47
...
...
@@ -118,7 +118,7 @@ module Types
field
:autoclose_referenced_issues
,
GraphQL
::
Types
::
Boolean
,
null:
true
,
description:
'Indicates if issues referenced by merge requests and commits within the default branch are closed automatically.'
field
:suggestion_commit_message
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'
The c
ommit message used to apply merge request suggestions.'
description:
'
C
ommit message used to apply merge request suggestions.'
field
:squash_read_only
,
GraphQL
::
Types
::
Boolean
,
null:
false
,
method: :squash_readonly?
,
description:
'Indicates if `squashReadOnly` is enabled.'
...
...
@@ -310,7 +310,7 @@ module Types
field
:container_expiration_policy
,
Types
::
ContainerExpirationPolicyType
,
null:
true
,
description:
'
The c
ontainer expiration policy of the project.'
description:
'
C
ontainer expiration policy of the project.'
field
:container_repositories
,
Types
::
ContainerRepositoryType
.
connection_type
,
...
...
@@ -324,7 +324,7 @@ module Types
field
:label
,
Types
::
LabelType
,
null:
true
,
description:
'
A l
abel available on this project.'
do
description:
'
L
abel available on this project.'
do
argument
:title
,
GraphQL
::
Types
::
String
,
required:
true
,
description:
'Title of the label.'
...
...
app/graphql/types/prometheus_alert_type.rb
View file @
c7ed4b47
...
...
@@ -15,6 +15,6 @@ module Types
field
:humanized_text
,
GraphQL
::
Types
::
String
,
null:
false
,
description:
'
The h
uman-readable text of the alert condition.'
description:
'
H
uman-readable text of the alert condition.'
end
end
app/graphql/types/query_type.rb
View file @
c7ed4b47
...
...
@@ -62,7 +62,7 @@ module Types
argument
:id
,
type:
::
Types
::
GlobalIDType
[
::
ContainerRepository
],
required:
true
,
description:
'
The g
lobal ID of the container repository.'
description:
'
G
lobal ID of the container repository.'
end
field
:package
,
...
...
@@ -84,13 +84,13 @@ module Types
field
:issue
,
Types
::
IssueType
,
null:
true
,
description:
'Find an issue.'
do
argument
:id
,
::
Types
::
GlobalIDType
[
::
Issue
],
required:
true
,
description:
'
The g
lobal ID of the issue.'
argument
:id
,
::
Types
::
GlobalIDType
[
::
Issue
],
required:
true
,
description:
'
G
lobal ID of the issue.'
end
field
:merge_request
,
Types
::
MergeRequestType
,
null:
true
,
description:
'Find a merge request.'
do
argument
:id
,
::
Types
::
GlobalIDType
[
::
MergeRequest
],
required:
true
,
description:
'
The g
lobal ID of the merge request.'
argument
:id
,
::
Types
::
GlobalIDType
[
::
MergeRequest
],
required:
true
,
description:
'
G
lobal ID of the merge request.'
end
field
:instance_statistics_measurements
,
...
...
app/graphql/types/range_input_type.rb
View file @
c7ed4b47
...
...
@@ -8,11 +8,11 @@ module Types
@subtypes
[[
type
,
closed
]]
||=
Class
.
new
(
self
)
do
argument
:start
,
type
,
required:
closed
,
description:
'
The s
tart of the range.'
description:
'
S
tart of the range.'
argument
:end
,
type
,
required:
closed
,
description:
'
The e
nd of the range.'
description:
'
E
nd of the range.'
end
end
...
...
app/graphql/types/release_asset_link_shared_input_arguments.rb
View file @
c7ed4b47
...
...
@@ -19,7 +19,7 @@ module Types
argument
:link_type
,
Types
::
ReleaseAssetLinkTypeEnum
,
required:
false
,
default_value:
'other'
,
description:
'T
he t
ype of the asset link.'
description:
'Type of the asset link.'
end
end
end
app/graphql/types/release_assets_input_type.rb
View file @
c7ed4b47
...
...
@@ -7,6 +7,6 @@ module Types
argument
:links
,
[
Types
::
ReleaseAssetLinkInputType
],
required:
false
,
description:
'
A l
ist of asset links to associate to the release.'
description:
'
L
ist of asset links to associate to the release.'
end
end
app/graphql/types/release_type.rb
View file @
c7ed4b47
...
...
@@ -49,7 +49,7 @@ module Types
field
:commit
,
Types
::
CommitType
,
null:
true
,
complexity:
10
,
calls_gitaly:
true
,
description:
'
The c
ommit associated with the release.'
description:
'
C
ommit associated with the release.'
def
commit
return
if
release
.
sha
.
nil?
...
...
doc/api/graphql/reference/index.md
View file @
c7ed4b47
This diff is collapsed.
Click to expand it.
spec/tooling/graphql/docs/renderer_spec.rb
View file @
c7ed4b47
...
...
@@ -535,8 +535,8 @@ RSpec.describe Tooling::Graphql::Docs::Renderer do
| Name | Type | Description |
| ---- | ---- | ----------- |
| <a id="timeframeend"></a>`end` | [`Date!`](#date) |
The e
nd of the range. |
| <a id="timeframestart"></a>`start` | [`Date!`](#date) |
The s
tart of the range. |
| <a id="timeframeend"></a>`end` | [`Date!`](#date) |
E
nd of the range. |
| <a id="timeframestart"></a>`start` | [`Date!`](#date) |
S
tart of the range. |
DOC
end
...
...
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