Skip to content

Add Swift-specific argument label for resumeExternalUserAgentFlow#966

Merged
w-goog merged 4 commits into
masterfrom
fix-double-nullability-annotation
Jul 23, 2026
Merged

Add Swift-specific argument label for resumeExternalUserAgentFlow#966
w-goog merged 4 commits into
masterfrom
fix-double-nullability-annotation

Conversation

@w-goog

@w-goog w-goog commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Fixes #964. Because there's a naming collision between the old & new methods, the NSError**-to-throws special-casing doesn't complete, leaving the real type lost in the Void. Which is to say, we were (unfortunately) successful in preserving backwards-compatibility, as the sample app only emitted a warning that the old method was being called. This PR also updates the call in the sample app to ensure this new signature is compiled correctly.

@w-goog
w-goog requested a review from brnnmrls July 21, 2026 22:33
Comment thread Examples/Example-iOS_Swift-SPM/Example/AppDelegate.swift

@brnnmrls brnnmrls left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but we should probably open an issue to switch this method to 'required' after allowing clients to migrate. Can we open a new issue or internal tracking bug?

@w-goog

w-goog commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator Author

Added issue #967 to track the future change.

@w-goog
w-goog merged commit d3efe17 into master Jul 23, 2026
10 checks passed
@w-goog
w-goog deleted the fix-double-nullability-annotation branch July 23, 2026 20:21
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.

Swift importer generates unusable signature for resumeExternalUserAgentFlow(with:error:)

2 participants