Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

fix: update masks for topic should be snake case#1778

Merged
feywind merged 3 commits into
googleapis:mainfrom
feywind:gh1587-update-mask
Jul 26, 2023
Merged

fix: update masks for topic should be snake case#1778
feywind merged 3 commits into
googleapis:mainfrom
feywind:gh1587-update-mask

Conversation

@feywind
Copy link
Copy Markdown
Collaborator

@feywind feywind commented Jul 25, 2023

Fixes: #1587

@feywind feywind requested review from a team July 25, 2023 19:55
@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: pubsub Issues related to the googleapis/nodejs-pubsub API. labels Jul 25, 2023
@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 25, 2023
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 25, 2023
Comment thread src/util.ts Outdated
* @private
*/
export function camelToSnake(input: string): string {
return input.replace(/[A-Z]/g, letter => `_${letter.toLowerCase()}`);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's good to double check what should happen with numbers. E. g. abc360Value - should it be abc_360_value or abc360_value? Ask me why I care :)

Copy link
Copy Markdown

@leahecole leahecole Jul 25, 2023

Choose a reason for hiding this comment

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

I brought up in a 1-1 chat that I want to see a test so this would be a good test case too 😁

@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 25, 2023
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 25, 2023
@feywind feywind added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 26, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 26, 2023
@feywind feywind merged commit ba72638 into googleapis:main Jul 26, 2023
@feywind feywind deleted the gh1587-update-mask branch July 26, 2023 17:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: pubsub Issues related to the googleapis/nodejs-pubsub API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

topic(setMetadata): messageRetentionDuration not working

4 participants