Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIP-121: List responses contain the resource #1436

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

wchargin
Copy link
Contributor

AIP-132 documents the guidance for List responses, which contain the resource as a repeated field, along with pagination information. This patch updates AIP-121 to consistently indicate that the List request merely contains the resource rather than being the resource, which wouldn't make sense since the point of a List request is to enumerate multiple such resources.

wchargin-branch: list-contains

AIP-132 documents the guidance for List responses, which *contain* the
resource as a `repeated` field, along with pagination information. This
patch updates AIP-121 to consistently indicate that the List request
merely contains the resource rather than being the resource, which
wouldn't make sense since the point of a List request is to enumerate
multiple such resources.
@wchargin wchargin requested a review from a team as a code owner October 28, 2024 22:36
@wchargin wchargin requested a review from jskeet October 28, 2024 22:36
@noahdietz
Copy link
Collaborator

Good catch, thank you

@noahdietz noahdietz merged commit 3593fd2 into aip-dev:master Oct 28, 2024
2 checks passed
@wchargin wchargin deleted the list-contains branch October 28, 2024 22:38
@wchargin
Copy link
Contributor Author

Thanks for the quick review!

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.

2 participants