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

@W-15363709 Changes to RestAPI for modern Async/Await #3806

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Crebs
Copy link
Contributor

@Crebs Crebs commented Jan 16, 2025

No description provided.

@Crebs Crebs self-assigned this Jan 16, 2025
@Crebs Crebs requested review from bbirman and wmathurin January 16, 2025 19:38
Copy link
Contributor

@wmathurin wmathurin left a comment

Choose a reason for hiding this comment

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

Shouldn't we keep the tests for the old APIs since they are deprecated and not (yet) removed?

@@ -115,6 +116,7 @@ extension RestClient {
/// Execute a prebuilt request.
/// - Parameter request: `RestRequest` object.
/// - Parameter completionBlock: `Result` block that handles the server's response.
@available(*, deprecated, message: "Use the async/await version of `send(request:)` instead.")
Copy link
Member

Choose a reason for hiding this comment

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

I think we should add something to the deprecation messages about it being removed in 14.0. We have this for deprecations in Objective-C, I'm not sure if there's a way to do something similar to have a standard message in Swift

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.

3 participants