Skip to content

Adding optional message to _unavailableFromAsync #40490

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

etcwilde
Copy link
Member

@etcwilde etcwilde commented Dec 9, 2021

Cherry-pick PR: #40378

I'm adding an optional message field to the _unavailableFromAsync attribute so that API devs can provide more information about how to proceed. Not all API necessarily have a replacement so this is an optional parameter.

Adding the ability to add an optional message to the unavailable from
async attribute. This can be used to indicate other possible API to use,
or help explain why it's unavailable.
Adding nice error messages for when things go wrong.
@etcwilde etcwilde added the r5.6 label Dec 9, 2021
@etcwilde
Copy link
Member Author

etcwilde commented Dec 9, 2021

@swift-ci please test

@etcwilde etcwilde requested a review from DougGregor December 10, 2021 03:50
@DougGregor DougGregor merged commit 53423c0 into swiftlang:release/5.6 Dec 10, 2021
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.6 labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants