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

Restore Swift 5 Support #3077

Merged
merged 2 commits into from Feb 23, 2020
Merged

Restore Swift 5 Support #3077

merged 2 commits into from Feb 23, 2020

Conversation

jshier
Copy link
Contributor

@jshier jshier commented Feb 23, 2020

Goals ⚽

This PR restores Swift 5 support by removing @dynamicMemberLookup from AlamofireExtension.

This PR also brings the project into sync with AFI's SwiftFormat config.

Implementation Details 🚧

Turns out the KeyPath version of the @dynamicMemberLookup requirement is only available on Swift 5.1+, so it needed to be removed in general. There was also an implicit return but that was removed along with the subscript.

Testing Details 🔍

Unfortunately GitHub Actions don't have Xcode 10.3 available, so I had to reinstall it and build locally.

@jshier jshier merged commit 3af9080 into master Feb 23, 2020
@jshier jshier deleted the bug/swift-5-support-broken branch February 23, 2020 21:33
@jshier jshier added this to the 5.0.2 milestone Feb 23, 2020
@jshier jshier requested a review from cnoon February 23, 2020 21:36
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

1 participant