Skip to content

feat(sidekick/swift): support ExistentialAny - #7762

Merged
chingor13 merged 1 commit into
mainfrom
fix-issue-1049
Oct 6, 2026
Merged

chingor13 merged 1 commit into
mainfrom
fix-issue-1049

Conversation

@chingor13

@chingor13 chingor13 commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Enable the Swift upcoming feature ExistentialAny in generated Package.swift manifests and use explicit any for existential types (Decoder, Encoder, any Swift.Error, and GAX polling error/backoff policies).

Part of googleapis/google-cloud-swift#1049
Generated PR: googleapis/google-cloud-swift#1371

@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 enables the upcoming Swift feature "ExistentialAny" in the generated Package.swift template and updates the Swift code templates and tests to use explicit "any" existential types for protocols such as Decoder, Encoder, Swift.Error, PollingErrorPolicy, and PollingBackoffPolicy. I have no feedback to provide as there are no review comments.

Enable ExistentialAny upcoming feature in generated Package.swift
and use explicit any for Decoder, Encoder, Error, and PollingPolicy.
@chingor13
chingor13 marked this pull request as ready for review October 6, 2026 18:29
@chingor13
chingor13 requested a review from a team as a code owner October 6, 2026 18:29
@chingor13
chingor13 merged commit d8be62b into main Oct 6, 2026
84 of 85 checks passed
@chingor13
chingor13 deleted the fix-issue-1049 branch October 6, 2026 21:19
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