docs: Generate QuickStart samples#4844
Conversation
|
These are still being tested (through a temporary hijack of the semver-checks), but early feedback is appreciated. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4844 +/- ##
=======================================
Coverage 94.59% 94.59%
=======================================
Files 208 208
Lines 8166 8166
=======================================
Hits 7725 7725
Misses 441 441 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Note: The integration tests failure seems to be because an |
a674821 to
f89c445
Compare
|
This was all tested with: |
coryan
left a comment
There was a problem hiding this comment.
LGTM, one possible improvement for the future.
f89c445 to
94b2f89
Compare
|
The failures are now because of googleapis/librarian#4276 |
Generates QuickStart samples per service client and per package. Additionally, removes the `veneer` property from librarian.yaml squash
a8aeb33 to
4561060
Compare
|
This is now ready for review, and includes removing |
| /// use google_cloud_gax::paginator::ItemPaginator as _; | ||
| /// # async fn sample() -> Result<(), Box<dyn std::error::Error>> { | ||
| /// let client = SchemaService::builder().build().await?; | ||
| /// let parent = "parent_value"; |
There was a problem hiding this comment.
I know these are going to get better pretty soon, but maybe we should have used:
| /// let parent = "parent_value"; | |
| /// let parent = " -- read the service docs for the format of this field --"; |
There was a problem hiding this comment.
Yes, I'll do this as well, even when we get resource names formatted, it's possible that for some we won't be able to identify the format and something like this as a fallback should be better.
Reverts #4844 We can roll forward once we figure out the problem with some quickstarts not compiling because the client is not enabled in the default features of the library.
No description provided.