Skip to content

refactor(sidekick/swift): move QuickstartService - #7969

Open
coryan wants to merge 1 commit into
googleapis:mainfrom
coryan:feat/swift-quickstart-annotation
Open

coryan wants to merge 1 commit into
googleapis:mainfrom
coryan:feat/swift-quickstart-annotation

Conversation

@coryan

@coryan coryan commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Store the resolved QuickstartService on Swift's modelAnnotations instead of mutating api.API.QuickstartService during model annotation.

Part of #7837

@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 refactors the handling of QuickstartService during model annotation. Instead of mutating the shared Model.QuickstartService directly, the resolved service is now stored within the modelAnnotations struct (Codec.QuickstartService). This prevents unintended mutations on the model. The templates and tests have been updated to reflect this change, and new test cases have been added to verify that the model is not mutated. I have no additional feedback to provide.

@coryan
coryan marked this pull request as ready for review November 22, 2026 15:50
@coryan
coryan requested a review from a team as a code owner November 22, 2026 15:50
Store the resolved QuickstartService on Swift's modelAnnotations instead

of mutating api.API.QuickstartService during model annotation.

Part of googleapis#7837
@coryan
coryan force-pushed the feat/swift-quickstart-annotation branch from efe6793 to b41030a Compare November 28, 2026 16:34
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