summaryrefslogtreecommitdiff
path: root/app/graphql/types/user_type.rb
blob: a6f5b7e74569e76730e0315144b6c986c6b2b7e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Types
  class UserType < ::Types::BaseObject
    graphql_name 'UserCore'
    description 'Core represention of a GitLab user.'
    implements ::Types::UserInterface

    authorize :read_user

    present_using UserPresenter
  end
end