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: protobufjs-compatible camel case #1286

Merged
merged 3 commits into from
Jul 1, 2022
Merged

fix: protobufjs-compatible camel case #1286

merged 3 commits into from
Jul 1, 2022

Conversation

alexander-fenster
Copy link
Contributor

@alexander-fenster alexander-fenster commented Jul 1, 2022

This PR brings camel case implementation in gax on the same page with the implementation in gapic-generator-typescript and in protobuf.js. The only affected use cases are strings that have multiple capital letters, e.g. GetOSPolicySomething, which protobuf.js wants to see as getOsPolicySomething; I believe these names do not work now, so this is a fix rather than a breaking change in behavior.

Tested locally that OSConfig API works with this change (and the generator change in googleapis/gapic-generator-typescript#1157).

I removed some unit tests that did not make sense (contained characters that never occur in names but prevented this refactor).

@alexander-fenster alexander-fenster requested a review from a team as a code owner July 1, 2022 09:01
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Jul 1, 2022
@alexander-fenster alexander-fenster merged commit c751200 into main Jul 1, 2022
@alexander-fenster alexander-fenster deleted the camel-case branch July 1, 2022 19:25
gcf-merge-on-green bot pushed a commit that referenced this pull request Jul 1, 2022
🤖 I have created a release *beep* *boop*
---


## [3.1.3](v3.1.2...v3.1.3) (2022-07-01)


### Bug Fixes

* protobufjs-compatible camel case ([#1286](#1286)) ([c751200](c751200))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants