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

fix(REST): do not perform any runtime verification #1333

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

alexander-fenster
Copy link
Contributor

Runtime verifications are costly, and also violate https://google.aip.dev/client-libraries/4223.

Also, refactor the way we access camel case fields having a snake case path (field.snake_case_subfield.something to get request.field.snakeCaseSubfield.something) without converting the request to snake case and back, hopefully saving a lot of processing time.

@alexander-fenster alexander-fenster requested a review from a team as a code owner September 1, 2022 18:26
@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Sep 1, 2022
Copy link

@vam-google vam-google left a comment

Choose a reason for hiding this comment

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

LGTM

@alexander-fenster alexander-fenster merged commit f655f42 into main Sep 1, 2022
@alexander-fenster alexander-fenster deleted the less-conversions branch September 1, 2022 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants