Skip to content

feat(sidekick/swift): add doc comments for init(fromAny:) - #7767

Open
chingor13 wants to merge 1 commit into
mainfrom
fix-issue-1071
Open

chingor13 wants to merge 1 commit into
mainfrom
fix-issue-1071

Conversation

@chingor13

Copy link
Copy Markdown
Contributor

Adds DocC comments to _anyTypeUrl, init(fromAny:), and _pack() in message.gotmpl, documenting the type URL, unpacking semantics and throws error conditions, and packing semantics and throws error conditions.

Part of googleapis/google-cloud-swift#1071.

@chingor13 chingor13 changed the title feat(swift): add doc comments for init(fromAny:) feat(sidekick/swift): add doc comments for init(fromAny:) Oct 6, 2026

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

Copy link
Copy Markdown
Contributor

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 adds Swift documentation comments to the generated _anyTypeUrl property, init(fromAny:) initializer, and _pack() method in the message template. It also updates the corresponding tests and adds a new test TestGenerateMessage_AnyPackableDocComments to verify the generated documentation comments. There are no review comments, and I have no feedback to provide.

@chingor13
chingor13 marked this pull request as ready for review October 6, 2026 23:05
@chingor13
chingor13 requested a review from a team as a code owner October 6, 2026 23:05
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.

1 participant