Skip to content

docs(spanner): add missing documentation#5784

Merged
olavloite merged 3 commits into
googleapis:mainfrom
olavloite:spanner-add-missing-docs
May 29, 2026
Merged

docs(spanner): add missing documentation#5784
olavloite merged 3 commits into
googleapis:mainfrom
olavloite:spanner-add-missing-docs

Conversation

@olavloite
Copy link
Copy Markdown
Contributor

Adds missing documentation for public methods and types.

The documentation for the module exports is a stop-gap to be able to remove the
allow(missing_docs) annotation. The module exports need a general audit, but this
ensures that we can remove the annotation and prevent further slippage in missing
documentation.

Fixes #5537

olavloite added 2 commits May 29, 2026 09:56
Adds missing documentation for public methods and types.

The documentation for the module exports is a stop-gap to be able to remove the
allow(missing_docs) annotation. The module exports need a general audit, but this
ensures that we can remove the annotation and prevent further slippage in missing
documentation.

Fixes googleapis#5537
@olavloite olavloite requested review from a team as code owners May 29, 2026 08:09
@product-auto-label product-auto-label Bot added the api: spanner Issues related to the Spanner API. label May 29, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the #![allow(missing_docs)] attribute and adds comprehensive documentation comments across various modules, structs, enums, and traits in the Spanner crate. It also encapsulates fields in MutationGroup and Statement by making them private or crate-private and exposing public getter methods. The review feedback suggests removing several redundant TODO(#5430) comments that reference already-tracked issues to keep the codebase clean.

Comment thread src/spanner/src/lib.rs
Comment thread src/spanner/src/client.rs
Comment thread src/spanner/src/client.rs
@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.87%. Comparing base (73cd277) to head (5285a7a).

Files with missing lines Patch % Lines
src/spanner/src/mutation.rs 0.00% 3 Missing ⚠️
src/spanner/src/statement.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5784      +/-   ##
==========================================
- Coverage   97.88%   97.87%   -0.02%     
==========================================
  Files         226      226              
  Lines       56465    56471       +6     
==========================================
- Hits        55273    55272       -1     
- Misses       1192     1199       +7     

☔ 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.

@olavloite olavloite force-pushed the spanner-add-missing-docs branch from e662061 to 5285a7a Compare May 29, 2026 11:46
@olavloite olavloite merged commit 92e59f3 into googleapis:main May 29, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the Spanner API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix missing_docs in google-cloud-spanner

2 participants