Skip to content

feat(sidekick/swift): simple message fields#5089

Merged
coryan merged 2 commits into
googleapis:mainfrom
coryan:feat-local-message-field-type-name
Apr 6, 2026
Merged

feat(sidekick/swift): simple message fields#5089
coryan merged 2 commits into
googleapis:mainfrom
coryan:feat-local-message-field-type-name

Conversation

@coryan
Copy link
Copy Markdown
Contributor

@coryan coryan commented Apr 4, 2026

Add support for simple message fields in the generated package. This still excludes external messages, and map messages, and enums.

Towards #5060 , and towards #5069

Add support for simple message fields in the generated package.
Copy link
Copy Markdown
Contributor

@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 implements support for message types in fieldTypeName, including logic for handling nested message names. The reviewer suggested refactoring the recursive messageTypeName function to use an early return for the base case to reduce nesting and improve readability in accordance with idiomatic Go practices.

Comment thread internal/sidekick/swift/field_type_name.go Outdated
@coryan coryan marked this pull request as ready for review April 4, 2026 23:53
@coryan coryan requested review from a team as code owners April 4, 2026 23:53
@coryan coryan merged commit ffc1607 into googleapis:main Apr 6, 2026
19 of 20 checks passed
@coryan coryan deleted the feat-local-message-field-type-name branch April 6, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants