Class: Types::AwardEmojis::AwardEmojiType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/award_emojis/award_emoji_type.rb

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#userObject



43
44
45
# File 'app/graphql/types/award_emojis/award_emoji_type.rb', line 43

def user
  Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.user_id).find
end