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-203): require field behavior #1100

Merged
merged 13 commits into from
May 23, 2023

Conversation

toumorokoshi
Copy link
Contributor

To reduce the likelihood of missed field behavior annotations,
require it for all message feilds.

further rationale is explained in the change of AIP-203.

@toumorokoshi toumorokoshi requested a review from a team as a code owner May 11, 2023 05:38
@toumorokoshi toumorokoshi added this to the gcp-strict-aips milestone May 11, 2023
To reduce the likelihood of missed field behavior annotations,
require it for all message feilds.

further rationale is explained in the change of AIP-203.
aip/general/0203.md Outdated Show resolved Hide resolved
- fix IMMUTABLE to OPTIONAL among required attributes.
aip/general/0203.md Outdated Show resolved Hide resolved
clarifying that *all* field behavior annotations are required.
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.

Thanks. LGTM. We can clarify more in the future if necessary.

aip/general/0203.md Outdated Show resolved Hide resolved
aip/general/0203.md Outdated Show resolved Hide resolved
aip/general/0203.md Outdated Show resolved Hide resolved
aip/general/0203.md Outdated Show resolved Hide resolved
aip/general/0203.md Outdated Show resolved Hide resolved
aip/general/0203.md Show resolved Hide resolved
aip/general/0203.md Outdated Show resolved Hide resolved
aip/general/0203.md Outdated Show resolved Hide resolved
aip/general/0203.md Outdated Show resolved Hide resolved
aip/general/0203.md Outdated Show resolved Hide resolved
aip/general/0203.md Outdated Show resolved Hide resolved
aip/general/0203.md Outdated Show resolved Hide resolved
- linking to proto as the source-of-truth.
- adding warning on field behavior compatibility.
@toumorokoshi toumorokoshi merged commit 3344af4 into aip-dev:master May 23, 2023
2 checks passed
toumorokoshi added a commit to googleapis/api-linter that referenced this pull request May 25, 2023
Adding guidance from aip-dev/google.aip.dev#1100

removing optional_consistency, which is now redundant.
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.

None yet

5 participants