Skip to content

refactor(storage): avoid include! macro #2755

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

Merged

Conversation

dbolduc
Copy link
Member

@dbolduc dbolduc commented Jul 23, 2025

Avoid using the include! macro which gives us formatting, and makes the source code lookup-able in the docs. Thanks @coryan for the suggestion.

image

@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Jul 23, 2025
Copy link

codecov bot commented Jul 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.50%. Comparing base (3738b11) to head (6924566).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2755   +/-   ##
=======================================
  Coverage   95.50%   95.50%           
=======================================
  Files          96       96           
  Lines        4092     4092           
=======================================
  Hits         3908     3908           
  Misses        184      184           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -25,3 +25,5 @@ pub mod stub;

mod convert;
mod status;

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: extra blank line?

Copy link
Member Author

Choose a reason for hiding this comment

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

without the blank line it bugged me that they were not in alphabetical order.

and if I put them in alphabetical order, it bugged me that the generated mod was sandwiched between handwritten mods. 🤷

@dbolduc dbolduc marked this pull request as ready for review July 23, 2025 18:48
@dbolduc dbolduc requested a review from a team as a code owner July 23, 2025 18:48
@dbolduc dbolduc merged commit 8668b99 into googleapis:main Jul 23, 2025
24 checks passed
@dbolduc dbolduc deleted the refactor-storage-control-client-generation branch July 23, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants