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

FIX(AIP-157): clarify distinction between request and request message #1174

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

metamatt
Copy link
Contributor

"should not be specified in the request" is ambiguous; side channels and headers are part of the request, as is the request message. This change clarifies the AIP to refer specifically to the request message, not the entire request.

Other phrasing in this AIP used "field on the request", not "field in the request", so this change is consistent with that.

This change includes further trivial tweaks to whitespace and grammar that should not change the intent.

The most important change here IMHO is the 1 word change (addition of "message") in L26. I opted to include further "trivial cleanup" but I don't feel strongly about it and please let me know if it's a bad idea to combine multiple purposes in one change like this. The change at L28 (from "must be a FieldMask" to "must be interpreted as a FieldMask") is because I found it confusing to talk about the type of the field-mask parameter when it's carried in a side channel (for most of the side channels there's no option to provide type information as part of the API definition, and I found talking about the type of the parameter to unintentionally imply it belongs in the API definition somewhere, eg as a request message field which is explicitly discouraged).

…annels

"should not be specified in the request" is ambiguous; side channels and headers are part of the request, as is the request message. This change clarifies the AIP to refer specifically to the request message, not the entire request.

Other phrasing in this AIP used "field on the request", not "field in the request", so this change is consistent with that.

This change includes further trivial tweaks to whitespace and grammar that should not change the intent.
@metamatt metamatt requested a review from a team as a code owner July 17, 2023 21:00
@metamatt metamatt requested review from shwoodard and loudej July 17, 2023 21:00
@noahdietz noahdietz requested review from toumorokoshi and removed request for shwoodard July 17, 2023 21:18
Copy link
Contributor

@toumorokoshi toumorokoshi left a comment

Choose a reason for hiding this comment

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

thanks! the change LGTM - more clarification doesn't hurt.

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