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
f7e4b2d3
Commit
f7e4b2d3
authored
Mar 10, 2022
by
Brett Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use quotes for circular field definitions
parent
c308510a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
app/graphql/types/project_type.rb
app/graphql/types/project_type.rb
+3
-1
app/graphql/types/todo_type.rb
app/graphql/types/todo_type.rb
+1
-1
ee/app/graphql/types/epic_type.rb
ee/app/graphql/types/epic_type.rb
+2
-2
No files found.
app/graphql/types/project_type.rb
View file @
f7e4b2d3
...
...
@@ -108,7 +108,9 @@ module Types
field
:suggestion_commit_message
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'Commit message used to apply merge request suggestions.'
field
:group
,
Types
::
GroupType
,
null:
true
,
# No, the quotes are not a typo. Used to get around circular dependencies.
# See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27536#note_871009675
field
:group
,
'Types::GroupType'
,
null:
true
,
description:
'Group of the project.'
field
:namespace
,
Types
::
NamespaceType
,
null:
true
,
description:
'Namespace of the project.'
...
...
app/graphql/types/todo_type.rb
View file @
f7e4b2d3
...
...
@@ -18,7 +18,7 @@ module Types
null:
true
,
authorize: :read_project
field
:group
,
Types
::
GroupType
,
field
:group
,
'Types::GroupType'
,
description:
'Group this to-do item is associated with.'
,
null:
true
,
authorize: :read_group
...
...
ee/app/graphql/types/epic_type.rb
View file @
f7e4b2d3
...
...
@@ -34,9 +34,9 @@ module Types
field
:author
,
Types
::
UserType
,
null:
false
,
description:
'Author of the epic.'
field
:group
,
GroupType
,
null:
false
,
field
:group
,
'Types::GroupType'
,
null:
false
,
description:
'Group to which the epic belongs.'
field
:parent
,
EpicType
,
null:
true
,
field
:parent
,
Types
::
EpicType
,
null:
true
,
description:
'Parent epic of the epic.'
field
:start_date
,
Types
::
TimeType
,
null:
true
,
...
...
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