Skip to content

[auth-swift] Rewrite Auth RPC types using Swift types #11529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 11, 2023

Conversation

paulb777
Copy link
Member

Rebase #11328 to latest auth-swift

ryanwilson and others added 10 commits July 11, 2023 09:03
This largely stems from the unsafe casting that occurs. Current state:
all types have been converted, almost no calls using those types have
been converted, ran into an issue with TwitterAuthCredential where it
takes a parameter that's an RPC type, but can't be visible in ObjC. This
may result in an API change unfortunately, or a rethinking of how the
AuthCredential and Providers work.
@google-oss-bot
Copy link

1 Warning
⚠️ Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)

Generated by 🚫 Danger

@paulb777 paulb777 requested a review from ryanwilson July 11, 2023 18:22
@paulb777
Copy link
Member Author

the check failure is from a bug in swiftformat removing the parens in (any AuthRPCRequest)?. Addressing separately in #11531

@paulb777
Copy link
Member Author

Going to merge it here. I'll address any comments in a subsequent PR.

@paulb777 paulb777 merged commit fb4ce08 into auth-swift Jul 11, 2023
@paulb777 paulb777 deleted the pb-merge-rw-auth-swift-rpcs branch July 11, 2023 23:01
paulb777 added a commit that referenced this pull request Jul 12, 2023
* Rewrite Auth RPC types using Swift types.

This largely stems from the unsafe casting that occurs. Current state:
all types have been converted, almost no calls using those types have
been converted, ran into an issue with TwitterAuthCredential where it
takes a parameter that's an RPC type, but can't be visible in ObjC. This
may result in an API change unfortunately, or a rethinking of how the
AuthCredential and Providers work.
---------

Co-authored-by: Ryan Wilson <wilsonryan@google.com>
peterfriese pushed a commit that referenced this pull request Jul 14, 2023
* Rewrite Auth RPC types using Swift types.

This largely stems from the unsafe casting that occurs. Current state:
all types have been converted, almost no calls using those types have
been converted, ran into an issue with TwitterAuthCredential where it
takes a parameter that's an RPC type, but can't be visible in ObjC. This
may result in an API change unfortunately, or a rethinking of how the
AuthCredential and Providers work.
---------

Co-authored-by: Ryan Wilson <wilsonryan@google.com>
@firebase firebase locked and limited conversation to collaborators Aug 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants