Skip to content

Conversation

@bsbodden
Copy link
Collaborator

@bsbodden bsbodden commented Sep 5, 2025

#646)

Changed the parameter order of AggregationStream.limit() from (limit, offset) to (offset, limit) to match Spring Data conventions and user expectations. The previous order was counterintuitive as most frameworks (Spring Data Pageable, SQL, Jedis) use offset first.

Changes:

  • Updated AggregationStream interface method signature
  • Fixed AggregationStreamImpl to match new parameter order
  • Updated QBE implementations in SimpleRedisDocumentRepository and SimpleRedisEnhancedRepository
  • Added test coverage for the corrected parameter order
  • Updated documentation to reflect the new parameter order

…edis#646)

Changed the parameter order of AggregationStream.limit() from (limit, offset) to
(offset, limit) to match Spring Data conventions and user expectations. The previous
order was counterintuitive as most frameworks (Spring Data Pageable, SQL, Jedis)
use offset first.

Changes:
- Updated AggregationStream interface method signature
- Fixed AggregationStreamImpl to match new parameter order
- Updated QBE implementations in SimpleRedisDocumentRepository and SimpleRedisEnhancedRepository
- Added test coverage for the corrected parameter order
- Updated documentation to reflect the new parameter order
@bsbodden bsbodden merged commit 3a1a44e into redis:main Sep 5, 2025
1 check passed
@bsbodden bsbodden deleted the bsb/issue-646 branch September 5, 2025 20:55
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.

1 participant