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
9da0678c
Commit
9da0678c
authored
Jun 18, 2020
by
Allison Browne
Committed by
Thong Kuah
Jun 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Query Type: Remove Duplicate User type Declaration
parent
405fd65a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
app/graphql/types/query_type.rb
app/graphql/types/query_type.rb
+3
-7
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+1
-1
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+1
-1
No files found.
app/graphql/types/query_type.rb
View file @
9da0678c
...
...
@@ -47,11 +47,6 @@ module Types
null:
false
,
description:
'Fields related to design management'
field
:user
,
Types
::
UserType
,
null:
true
,
description:
'Find a user'
,
resolver:
Resolvers
::
UserResolver
field
:users
,
Types
::
UserType
.
connection_type
,
null:
true
,
description:
'Find users'
,
...
...
@@ -61,8 +56,9 @@ module Types
description:
'Text to echo back'
,
resolver:
Resolvers
::
EchoResolver
field
:user
,
Types
::
UserType
,
null:
true
,
description:
'Find a user on this instance'
,
field
:user
,
Types
::
UserType
,
null:
true
,
description:
'Find a user'
,
resolver:
Resolvers
::
UserResolver
def
design_management
...
...
doc/api/graphql/reference/gitlab_schema.graphql
View file @
9da0678c
...
...
@@ -9942,7 +9942,7 @@ type Query {
):
SnippetConnection
"""
Find
a
user
on
this
instance
Find
a
user
"""
user
(
"""
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
9da0678c
...
...
@@ -29206,7 +29206,7 @@
},
{
"name": "user",
"description": "Find a user
on this instance
",
"description": "Find a user",
"args": [
{
"name": "id",
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