Skip to content

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

Merged
merged 2 commits into from
Jan 18, 2021
Merged

Conversation

vkryachko
Copy link
Member

No description provided.

@googlebot googlebot added the cla: yes Override cla label Jan 18, 2021
@vkryachko vkryachko requested a review from rlazo January 18, 2021 15:54
*
* <p>Optional dependencies can be missing at runtime(being {@code null}) and dependents must be
* ready to handle that.
*/
Copy link
Collaborator

Choose a reason for hiding this comment

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

This isn't deprecated?

Copy link
Member Author

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().

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 18, 2021

Coverage Report

Affected SDKs

No changes between base commit (6ccc9de) and head commit (1fda5204).

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage.
Report files are located at <product-build-dir>/reports/jacoco/.

Head commit (1fda5204) is created by Prow via merging commits: 6ccc9de b8ea0b3.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 18, 2021

Binary Size Report

Affected SDKs

  • firebase-components

    Type Base (6ccc9de) Head (1fda5204) Diff
    aar 46.2 kB 46.3 kB +58 B (+0.1%)

Test Logs

Notes

Head commit (1fda5204) is created by Prow via merging commits: 6ccc9de b8ea0b3.

@vkryachko
Copy link
Member Author

/test check-changed

@vkryachko vkryachko merged commit 2c088d7 into master Jan 18, 2021
schmidt-sebastian pushed a commit that referenced this pull request Jan 19, 2021
* Mark Dependency.optional as deprecated.

* Apply suggestions from code review

Co-authored-by: Rodrigo Lazo <[email protected]>

Co-authored-by: Rodrigo Lazo <[email protected]>
@vkryachko vkryachko deleted the vk.optional_deprecation branch January 21, 2021 16:39
andreaowu pushed a commit that referenced this pull request Jan 29, 2021
* Mark Dependency.optional as deprecated.

* Apply suggestions from code review

Co-authored-by: Rodrigo Lazo <[email protected]>

Co-authored-by: Rodrigo Lazo <[email protected]>
@firebase firebase locked and limited conversation to collaborators Feb 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants