Repository navigation
feat(swift): qualify external package types in module conversions - #7240
Merged
nolanleastin merged 2 commits intoAug 10, 2026
Merged
nolanleastin merged 2 commits into
nolanleastin merged 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the 'externalTypePrefix' function in 'internal/sidekick/swift/field_type_name.go' to correctly determine when to apply a module namespace prefix in Swift target generation, specifically handling cases where the package matches the model's package name and verifying module target library names. Additionally, a comprehensive unit test 'TestAnnotateMessage_ParameterTypeName_Qualification' has been added to 'internal/sidekick/swift/annotate_message_test.go' to validate local, nested, external, and module-level parameter type name qualifications. There are no review comments, so I have no feedback to provide.
nolanleastin
marked this pull request as ready for review
August 10, 2026 23:08
nolanleastin
force-pushed
the
neastin/storage-admin-qualify-extensions
branch
from
August 10, 2026 23:09
c8b05be to
209bca2
Compare
nolanleastin
enabled auto-merge (squash)
August 10, 2026 23:09
nolanleastin
disabled auto-merge
August 10, 2026 23:11
coryan
approved these changes
Aug 10, 2026
JoeWang1127
pushed a commit
that referenced
this pull request
Aug 11, 2026
🤖 I have created a release *beep* *boop* --- ## [0.36.0](v0.35.0...v0.36.0) (2026-08-11) ### Features * **internal/librarian/php:** add google-cloud-php/dev as a tool to install ([#7122](#7122)) ([97ed7e2](97ed7e2)) * **sidekick/impl:** use `GoogleCloudGax._HTTPClient` ([#7237](#7237)) ([7e0dc84](7e0dc84)) * **swift:** qualify external package types in module conversions ([#7240](#7240)) ([23f3754](23f3754)) ### Bug Fixes * **internal/librarian/php:** remove --side_loaded_root_dir option in install ([#7141](#7141)) ([bf82078](bf82078)) * **sidekick/rust:** BQ query creation metadata not checking skip field id ([#7232](#7232)) ([bda2a49](bda2a49)) * **sidekick/swift:** correct doc links for services ([#7236](#7236)) ([f421d6c](f421d6c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generates googleapis/google-cloud-swift#309