Skip to content

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
@itsStrobe itsStrobe requested a review from slevenick August 10, 2024 00:20
- 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