Skip to content

[UPUP-1077]: PageRequestService#5

Open
ridebyhorse wants to merge 19 commits intomainfrom
feature/UPUP-1077-PageRequestService
Open

[UPUP-1077]: PageRequestService#5
ridebyhorse wants to merge 19 commits intomainfrom
feature/UPUP-1077-PageRequestService

Conversation

@ridebyhorse
Copy link

@ridebyhorse ridebyhorse commented Apr 18, 2025

}

class IntsRepository {
final class IntsRepository: Sendable {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а зачем тут Sendable? Вроде бы не нужен

Copy link
Author

@ridebyhorse ridebyhorse Apr 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Получаем такую ошибку при обращении к репозиторию:
Снимок экрана 2025-04-22 в 17 11 49
Sendable решает проблему

static let delayInNanoseconds: UInt64 = 3_000_000_000
}

@Sendable

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

и тут тоже

Copy link
Author

@ridebyhorse ridebyhorse Apr 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут хоть и нет ворнинга на Swift 6, для Swift 5 нужно добавить
Снимок экрана 2025-04-23 в 11 27 55

@yanboyko
Copy link

Еще пара моментов:

  1. Проект не билдится из-за ворнингов, нужно исправить все замечания от линтера.
  2. Получилось сломать пагинацию, на скрине видно как после 10 элемента идет 31. Особо ничего не делал, но вроде последовательность такая: отмотал до пагинационной загрузки, пока она шла сделал пул ту рефреш и снова отмотал до пагинационной загрузки.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants