-
Notifications
You must be signed in to change notification settings - Fork 144
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): add resource name IDENTIFIER enforcement #1241
feat(AIP-203): add resource name IDENTIFIER enforcement #1241
Conversation
This breaks the lint for me. edit: This code explicitly check for "IDENTIFIER" and fails on anything else (i.e. OUTPUT_ONLY, REQUIRED, etc...) I wonder how it did not fail any other test |
@sam-utila can you open an issue instead of commenting on the PR? Also please include the proto that is failing. worth noting this hasn't been released yet so you are using |
Pardon me - I wasn't aware a new IDENTIFIER value is now allowed, should probably update my googleapis deps. However - I wonder if this will continue to work for Anyway I had to use |
I can't speak to grpc-gateway's implementation of filtering based on field_behavior, that is their own implementation derived from presence of field_behavior annotations. I'd recommend filing an issue on their repo. Please read the AIP-203 changes for the use of and reasoning for adding
I see makes sense! Consider using a specific version instead of |
No problem, considering I can always put new linting rules on Just wondering that sometimes |
I too am interested in the implication for |
Enforces AIP-203 guidance added in aip-dev/google.aip.dev#1201 that the resource's name field must have
google.api.field_behavior = IDENTIFIER
.