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 #1149

Merged
merged 10 commits into from
May 25, 2023
Merged

feat(AIP-203): require field_behavior #1149

merged 10 commits into from
May 25, 2023

Conversation

toumorokoshi
Copy link
Contributor

Adding guidance from aip-dev/google.aip.dev#1100

@toumorokoshi toumorokoshi requested a review from a team as a code owner May 11, 2023 17:55
@toumorokoshi toumorokoshi added this to the gcp-strict-aips milestone May 11, 2023
docs/rules/0203/field-behavior-required.md Outdated Show resolved Hide resolved
docs/rules/0203/field-behavior-required.md Outdated Show resolved Hide resolved
rules/aip0203/field_behavior_required.go Outdated Show resolved Hide resolved
rules/aip0203/field_behavior_required.go Outdated Show resolved Hide resolved
rules/aip0203/field_behavior_required.go Show resolved Hide resolved
rules/aip0203/field_behavior_required.go Show resolved Hide resolved
- making it a method rule, checkin the request.
- handling the nested message case.
removing optional_consistency, which is now redundant.
Copy link
Collaborator

@noahdietz noahdietz left a comment

Choose a reason for hiding this comment

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

LGTM great job. I'll let @shwoodard approve as I think he's got an open question still

- adding immutable as one of the required behaviors.
@noahdietz
Copy link
Collaborator

Including IMMUTABLE for now sounds good to me.

rules/aip0203/field_behavior_required.go Outdated Show resolved Hide resolved
rules/aip0203/field_behavior_required.go Outdated Show resolved Hide resolved
rules/aip0203/field_behavior_required.go Outdated Show resolved Hide resolved
fix nits, lint problem pointer -> list
@toumorokoshi
Copy link
Contributor Author

@shwoodard thanks! ready for another pass from you. Noah deferred to your approval since you had blocking comments before.

@toumorokoshi toumorokoshi merged commit fd373ee into googleapis:main May 25, 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.

3 participants