Skip to content
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

Make instanceForProtocol:inContainer: return nullable T #12391

Merged
merged 4 commits into from
Feb 21, 2024

Conversation

andrewheard
Copy link
Contributor

Updated + (T)instanceForProtocol:inContainer: in FIRComponentType to return a nullable T instead of T. The underlying call to instanceForProtocol: in FIRComponentContainer can return nil.

This is a follow-up that addresses #12387 (comment).

#no-changelog

@paulb777
Copy link
Member

Thanks. Would you touch Gemfile to run a full coverage test in CI?

Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

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

LGTM

I've seen the storage quickstart issue occasionally. Maybe resolved by firebase/quickstart-ios#1559?

Gemfile Outdated Show resolved Hide resolved
This reverts commit da2434f.
@andrewheard andrewheard marked this pull request as ready for review February 21, 2024 17:14
@andrewheard andrewheard merged commit 1ed6d66 into main Feb 21, 2024
83 of 85 checks passed
@andrewheard andrewheard deleted the ah/component-type-nullable branch February 21, 2024 17:15
@themiswang themiswang mentioned this pull request Feb 23, 2024
@firebase firebase locked and limited conversation to collaborators Mar 23, 2024
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