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

feat(AIP-136): require GET/POST, use parent instead of singular #1093

Merged

Conversation

toumorokoshi
Copy link
Contributor

The resource singular is a harder pattern to recognize as it
requires a consumer to know the resource singular beforehand. Using
parent aligns it with other collection-oriented methods.

Further explanation for the rationale is in the changes for AIP-136.

fixes #1089

The resource singular is a harder pattern to recognize as it
requires a consumer to know the resource singular beforehand. Using
parent aligns it with other collection-oriented methods.

Further explanation for the rationale is in the changes for AIP-136.

fixes aip-dev#1089
@toumorokoshi toumorokoshi requested a review from a team as a code owner May 9, 2023 20:03
@toumorokoshi
Copy link
Contributor Author

@bgrant0607 FYI here's the fix for custom methods.

aip/general/0136.md Outdated Show resolved Hide resolved
aip/general/0136.md Outdated Show resolved Hide resolved
aip/general/0136.md Outdated Show resolved Hide resolved
aip/general/0136.md Outdated Show resolved Hide resolved
aip/general/0136.md Outdated Show resolved Hide resolved
aip/general/0136.md Outdated Show resolved Hide resolved
aip/general/0136.md Outdated Show resolved Hide resolved
aip/general/0136.md Outdated Show resolved Hide resolved
- creating a resource-oriented section to put resource-specific
  guidance.
- making should a must to clarify level of strictness.
- clarifying some wording, more succincet explanations.
@toumorokoshi
Copy link
Contributor Author

Thanks @noahdietz @bgrant0607! Great comments, addressed. PTAL.

@toumorokoshi toumorokoshi added this to the gcp-strict-aips milestone May 9, 2023
Copy link
Contributor

@bgrant0607 bgrant0607 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@toumorokoshi toumorokoshi merged commit dd986da into aip-dev:master May 10, 2023
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.

AIP-136: custom methods should use parent or name
3 participants