Skip to content

Conversation

@KazaiMazai
Copy link
Owner

@KazaiMazai KazaiMazai commented Nov 18, 2025

Note

Add limit/offset pagination helpers for arrays and query lists, plus tests.

  • Model:
    • Add Array.limit(_:offset:) to slice arrays with bounds checking (Sources/SwiftletModel/Extensions/ArrayExtensions.swift).
    • Add QueryList.limit(_:offset:) to paginate query lists via chaining (Sources/SwiftletModel/Query/QueryList.swift).
  • Tests:
    • Introduce ArrayExtensionsTests covering removingDuplicates(by:) and limit(_:offset:) edge cases and typical usage (Tests/SwiftletModelTests/ExtensionsTests/ArrayExtensionsTests.swift).

Written by Cursor Bugbot for commit 2a6e6ca. This will update automatically on new commits. Configure here.

@KazaiMazai KazaiMazai self-assigned this Nov 18, 2025
@KazaiMazai KazaiMazai merged commit 4f4db70 into main Nov 18, 2025
2 checks passed
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.

2 participants