Skip to content

Feature/games tests and pagination - #1320

Merged
aji70 merged 7 commits into
MyFanss:mainfrom
jhayniffy:feature/games-tests-and-pagination
Jun 28, 2026
Merged

Feature/games tests and pagination#1320
aji70 merged 7 commits into
MyFanss:mainfrom
jhayniffy:feature/games-tests-and-pagination

Conversation

@jhayniffy

Copy link
Copy Markdown
Contributor

closes #1031
closes #1032
closes #1033
closes #1034
Implement the change in the relevant code paths
Wire or persist state where the feature touches runtime behavior
Add tests (unit, integration, and/or contract/UI as appropriate)
Implement the change in the relevant code paths
Wire or persist state where the feature touches runtime behavior
Add tests (unit, integration, and/or contract/UI as appropriate)

github-actions Bot and others added 5 commits June 27, 2026 16:45
Cover joinGame happy path and edge cases: successful join, sequential
and random turn order, custom starting cash, and error states (not
found, not pending, full game, duplicate player).
Test JoinGameDto validation: valid UUID, missing userId, empty string,
non-UUID string, numeric value, null, truncated UUID, and v4 UUID.
E2E tests for POST /v1/games/:id/join (404, invalid body, valid shape)
and GET /v1/games with pagination (limit, page, status filter, defaults,
boundary validation).
Add GET /v1/games endpoint with page/limit/status query params.
ListGamesDto extends PaginationDto for consistent validation.
Service uses queryBuilder with skip/take and returns PaginatedResponseDto.
@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@jhayniffy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@aji70
aji70 merged commit 7e79ce6 into MyFanss:main Jun 28, 2026
3 of 6 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

2 participants