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-134] Add rationale on update_mask being optional #1405

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

itsStrobe
Copy link
Contributor

Add text explaining why update_mask must be OPTIONAL over REQUIRED.

Add text explaining why `update_mask` must be OPTIONAL over REQUIRED.
@itsStrobe itsStrobe requested a review from a team as a code owner August 10, 2024 00:20
@@ -103,6 +103,9 @@ message UpdateBookRequest {
- The field **must** be optional, and the service **must** treat an omitted
field mask as an implied field mask equivalent to all fields that are
populated (have a non-empty value).
- Rationale is that omission of `update_mask` is equivalent on it being
Copy link
Contributor

Choose a reason for hiding this comment

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

Rather than include this here, I'd suggest adding a rationale section separately.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Indeed, and I'd take a glance at the guidance in AIP-8 for this section:
image

@noahdietz noahdietz removed the request for review from slevenick August 12, 2024 15:33
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.

3 participants