Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
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
marked this pull request as ready for review
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
force-pushed
the
feat/swift-quickstart-annotation
branch
from
November 28, 2026 16:34
efe6793 to
b41030a
Compare
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.
Store the resolved
QuickstartServiceon Swift's modelAnnotations instead of mutatingapi.API.QuickstartServiceduring model annotation.Part of #7837