-
Notifications
You must be signed in to change notification settings - Fork 624
Mark Dependency.optional as deprecated. #2334
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
Conversation
firebase-components/src/main/java/com/google/firebase/components/Dependency.java
Outdated
Show resolved
Hide resolved
firebase-components/src/main/java/com/google/firebase/components/Dependency.java
Outdated
Show resolved
Hide resolved
* | ||
* <p>Optional dependencies can be missing at runtime(being {@code null}) and dependents must be | ||
* ready to handle that. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't deprecated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, this is now the recommended optional dependency, see the deprecation message in Dependency.optional()
.
Co-authored-by: Rodrigo Lazo <[email protected]>
Coverage ReportAffected SDKsNo changes between base commit (6ccc9de) and head commit (1fda5204). Test Logs
NotesHTML coverage reports can be produced locally with Head commit (1fda5204) is created by Prow via merging commits: 6ccc9de b8ea0b3. |
Binary Size ReportAffected SDKs
Test Logs
NotesHead commit (1fda5204) is created by Prow via merging commits: 6ccc9de b8ea0b3. |
/test check-changed |
* Mark Dependency.optional as deprecated. * Apply suggestions from code review Co-authored-by: Rodrigo Lazo <[email protected]> Co-authored-by: Rodrigo Lazo <[email protected]>
* Mark Dependency.optional as deprecated. * Apply suggestions from code review Co-authored-by: Rodrigo Lazo <[email protected]> Co-authored-by: Rodrigo Lazo <[email protected]>
No description provided.