Skip to content

feat(savings_goals): add cursor pagination for owner goal listing#598

Merged
Baskarayelu merged 2 commits into
Remitwise-Org:mainfrom
Arowolokehinde:feature/savings-goals-pagination
Apr 27, 2026
Merged

feat(savings_goals): add cursor pagination for owner goal listing#598
Baskarayelu merged 2 commits into
Remitwise-Org:mainfrom
Arowolokehinde:feature/savings-goals-pagination

Conversation

@Arowolokehinde
Copy link
Copy Markdown
Contributor

Add get_goals_for_owner(owner, cursor, limit) as a public contract method with deterministic cursor-based pagination backed by the owner-scoped goal ID index. Includes 13 comprehensive pagination tests covering limit clamping, full iteration, owner isolation, cross-owner cursor rejection, and edge cases.

Also fixes pre-existing build issues: duplicate proptest key in remittance_split/Cargo.toml, String::from_slice type mismatch in tag validation, Val PartialEq errors in event_test.rs, and mismatched create_goal argument in stress_test_large_amounts.rs.

Closes #530

Arowolokehinde and others added 2 commits April 27, 2026 12:21
Add get_goals_for_owner(owner, cursor, limit) as a public contract
method with deterministic cursor-based pagination backed by the
owner-scoped goal ID index. Includes 13 comprehensive pagination
tests covering limit clamping, full iteration, owner isolation,
cross-owner cursor rejection, and edge cases.

Also fixes pre-existing build issues: duplicate proptest key in
remittance_split/Cargo.toml, String::from_slice type mismatch in
tag validation, Val PartialEq errors in event_test.rs, and
mismatched create_goal argument in stress_test_large_amounts.rs.
@Baskarayelu Baskarayelu merged commit 01c5a4e into Remitwise-Org:main Apr 27, 2026
4 of 5 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.

SC-077 Savings Goals: Add deterministic cursor pagination for owner goal listing

2 participants