Skip to content

docs: over-max LookupResources batch size is rejected, not clamped - #178

Merged
ostafen merged 1 commit into
mainfrom
docs/response-batch-size-rejects
Nov 20, 2026
Merged

ostafen merged 1 commit into
mainfrom
docs/response-batch-size-rejects

Conversation

@ostafen

@ostafen ostafen commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Corrects the optional_response_batch_size doc comment on LookupResourcesRequest.

The field comment said a request exceeding the server maximum is "clamped to that maximum rather than rejected." The server implementation (authzed/spicedb#3517) rejects such a request with InvalidArgument instead — consistent with how optional_limit over the server's max limit is handled. This updates the comment (and the regenerated docs/apidocs.swagger.json) to match.

Comment-only change; no wire or behavioral impact.

@github-actions

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow Lint / lint (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedNov 20, 2026, 2:21 PM

@ostafen
ostafen requested a review from tstirrat15 November 20, 2026 15:35

@tstirrat15 tstirrat15 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.

LGTM

@ostafen
ostafen merged commit b550d75 into main Nov 20, 2026
3 checks passed
@ostafen
ostafen deleted the docs/response-batch-size-rejects branch November 20, 2026 16:23
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants