Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update for Alamofire 5 RC Changes #375

Merged
merged 3 commits into from
Sep 12, 2019
Merged

Update for Alamofire 5 RC Changes #375

merged 3 commits into from
Sep 12, 2019

Conversation

jshier
Copy link
Contributor

@jshier jshier commented Sep 9, 2019

Issue Link πŸ”—

#374

Goals ⚽

This PR brings AFI up to date with Alamofire's RC changes.

Implementation Details 🚧

A few changes were made to deal with the new doubly generic responses from Alamofire.

  • AFIError was updated with an alamofireError case which captures an AFError.
  • AFIDataResponse was added as a typealias to make double generic use easier.
  • AFIResult was also added for the same reason.

Testing Details πŸ”

Tests updated for the few cases where error casts are no longer needed.

@jshier jshier requested a review from cnoon September 9, 2019 00:57
Copy link
Member

@cnoon cnoon left a comment

Choose a reason for hiding this comment

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

Looks good to me @jshier! πŸ‘ŒπŸ»

@jshier jshier merged commit 160642a into master Sep 12, 2019
@jshier jshier deleted the af5-rc1-updates branch September 12, 2019 17:55
@askari01
Copy link

when will this be released

@jshier jshier added this to the 4.0.0-beta.5 milestone Sep 17, 2019
ryndinol pushed a commit to ryndinol/AlamofireImage that referenced this pull request Apr 26, 2021
* Update dependencies to RC1.

* Start updating types.

* Version to RC2.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants