2021-11-18 22:05:49 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
|
|
module Graphql
|
|
|
|
module Board
|
2022-07-23 23:45:48 +05:30
|
|
|
class IssuesConnectionExtension < GraphQL::Schema::FieldExtension
|
2021-11-18 22:05:49 +05:30
|
|
|
def after_resolve(value:, object:, context:, **rest)
|
|
|
|
::Boards::Issues::ListService
|
|
|
|
.initialize_relative_positions(object.list.board, context[:current_user], value.nodes)
|
|
|
|
|
|
|
|
value
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|