2018-11-27 15:10:40 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
2021-04-26 15:10:20 +00:00
|
|
|
class UserType < ::Types::BaseObject
|
|
|
|
graphql_name 'UserCore'
|
|
|
|
description 'Core represention of a GitLab user.'
|
|
|
|
implements ::Types::UserInterface
|
2018-11-27 15:10:40 +00:00
|
|
|
|
2019-03-04 02:30:32 +00:00
|
|
|
authorize :read_user
|
|
|
|
|
2018-11-27 15:10:40 +00:00
|
|
|
present_using UserPresenter
|
|
|
|
end
|
|
|
|
end
|