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
28906f07
Commit
28906f07
authored
Oct 16, 2020
by
Max Woolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor GraphQL/UserResovler to use new GlobalID types
parent
fff3b3aa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
.rubocop_todo.yml
.rubocop_todo.yml
+0
-1
app/graphql/resolvers/user_resolver.rb
app/graphql/resolvers/user_resolver.rb
+1
-1
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.
.rubocop_todo.yml
View file @
28906f07
...
@@ -1285,4 +1285,3 @@ Graphql/IDType:
...
@@ -1285,4 +1285,3 @@ Graphql/IDType:
-
'
app/graphql/resolvers/error_tracking/sentry_error_stack_trace_resolver.rb'
-
'
app/graphql/resolvers/error_tracking/sentry_error_stack_trace_resolver.rb'
-
'
app/graphql/resolvers/snippets_resolver.rb'
-
'
app/graphql/resolvers/snippets_resolver.rb'
-
'
app/graphql/resolvers/user_merge_requests_resolver.rb'
-
'
app/graphql/resolvers/user_merge_requests_resolver.rb'
-
'
app/graphql/resolvers/user_resolver.rb'
app/graphql/resolvers/user_resolver.rb
View file @
28906f07
...
@@ -6,7 +6,7 @@ module Resolvers
...
@@ -6,7 +6,7 @@ module Resolvers
type
Types
::
UserType
,
null:
true
type
Types
::
UserType
,
null:
true
argument
:id
,
GraphQL
::
ID_TYPE
,
argument
:id
,
Types
::
GlobalIDType
[
User
]
,
required:
false
,
required:
false
,
description:
'ID of the User'
description:
'ID of the User'
...
...
doc/api/graphql/reference/gitlab_schema.graphql
View file @
28906f07
...
@@ -15595,7 +15595,7 @@ type Query {
...
@@ -15595,7 +15595,7 @@ type Query {
"""
"""
ID
of
the
User
ID
of
the
User
"""
"""
id
:
ID
id
:
User
ID
"""
"""
Username
of
the
User
Username
of
the
User
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
28906f07
...
@@ -45088,7 +45088,7 @@
...
@@ -45088,7 +45088,7 @@
"description": "ID of the User",
"description": "ID of the User",
"type": {
"type": {
"kind": "SCALAR",
"kind": "SCALAR",
"name": "ID",
"name": "
User
ID",
"ofType": null
"ofType": null
},
},
"defaultValue": null
"defaultValue": null
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