Skip to content

Add default location limit#128

Merged
jackpf merged 2 commits into
mainfrom
location-limit
Apr 21, 2026
Merged

Add default location limit#128
jackpf merged 2 commits into
mainfrom
location-limit

Conversation

@jackpf

@jackpf jackpf commented Apr 21, 2026

Copy link
Copy Markdown
Owner

Limit locations to 1000.
Eventually we want some client side limits/date range, but this prevents responses being too large for now.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a default limit of 1000 for the listLocations endpoint in AdminServiceImpl. The feedback highlights that this change will break existing tests in AdminServiceImplTest.scala which expect a None limit in their mocks, requiring updates to the test suite to reflect the new default value.

@jackpf jackpf merged commit 463e813 into main Apr 21, 2026
4 checks passed
@jackpf jackpf deleted the location-limit branch April 21, 2026 23:27
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