Kitura / SwiftyRequest

SwiftyRequest is an HTTP networking library built for Swift.
Apache License 2.0
110 stars 19 forks source link

Swift 5: Conflicting definition of Result<T> #54

Open cybermnemosyne opened 5 years ago

cybermnemosyne commented 5 years ago

This is more of a heads up when you come to supporting Swift 5 - your definition of Result is different from the Result type in Swift 5. Converting the code conditionally when you support 5 may be difficult and so a ?less painful way would be to perhaps rename Result to ResponseResult ?

SwiftyRequest seems to work under 5 - at least the parts I am using in Xcode.