Commit 8d4aa787 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'query-user-type-fix' into 'master'

Query Type: Remove Duplicate User type Declaration

See merge request gitlab-org/gitlab!34749
parents 9b974faa 9da0678c
...@@ -47,11 +47,6 @@ module Types ...@@ -47,11 +47,6 @@ module Types
null: false, null: false,
description: 'Fields related to design management' 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, field :users, Types::UserType.connection_type,
null: true, null: true,
description: 'Find users', description: 'Find users',
...@@ -61,8 +56,9 @@ module Types ...@@ -61,8 +56,9 @@ module Types
description: 'Text to echo back', description: 'Text to echo back',
resolver: Resolvers::EchoResolver resolver: Resolvers::EchoResolver
field :user, Types::UserType, null: true, field :user, Types::UserType,
description: 'Find a user on this instance', null: true,
description: 'Find a user',
resolver: Resolvers::UserResolver resolver: Resolvers::UserResolver
def design_management def design_management
......
...@@ -9942,7 +9942,7 @@ type Query { ...@@ -9942,7 +9942,7 @@ type Query {
): SnippetConnection ): SnippetConnection
""" """
Find a user on this instance Find a user
""" """
user( user(
""" """
......
...@@ -29206,7 +29206,7 @@ ...@@ -29206,7 +29206,7 @@
}, },
{ {
"name": "user", "name": "user",
"description": "Find a user on this instance", "description": "Find a user",
"args": [ "args": [
{ {
"name": "id", "name": "id",
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment