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

Use expect funs instead of expect classes for DefaultHttpEngine #5672

Merged
merged 4 commits into from Mar 4, 2024

Conversation

BoD
Copy link
Contributor

@BoD BoD commented Mar 1, 2024

Also rename HttpEngine.dispose() -> HttpEngine.close()

Would it be worth it to also rename NetworkTransport.dispose()?

@BoD BoD requested review from a team and martinbonnin as code owners March 1, 2024 18:36
@BoD BoD changed the title Use expect funs instead of expect classes for HttpEngine Use expect funs instead of expect classes for DefaultHttpEngine Mar 1, 2024
Copy link

netlify bot commented Mar 1, 2024

Deploy Preview for apollo-android-docs ready!

Name Link
🔨 Latest commit b6f8747
🔍 Latest deploy log https://app.netlify.com/sites/apollo-android-docs/deploys/65e2203b8871140008647536
😎 Deploy Preview https://deploy-preview-5672--apollo-android-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment on lines +28 to +31
@ApolloDeprecatedSince(v4_0_0)
@Deprecated("Use close", ReplaceWith("close()"), level = DeprecationLevel.ERROR)
fun dispose() {
}
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@BoD BoD merged commit 491b427 into main Mar 4, 2024
9 checks passed
@BoD BoD deleted the expect-funs-instead-of-expect-class branch March 4, 2024 08:23
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.

None yet

2 participants