Class: Types::Terraform::StateType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/terraform/state_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

#locked_by_userObject


45
46
47
# File 'app/graphql/types/terraform/state_type.rb', line 45

def locked_by_user
  Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.locked_by_user_id).find
end