Closed BadPirate closed 7 years ago
I was in the middle of working on the objects in listWorkspaces and had not debugged those yet, so you might try removing that file from the project.
Rob
This sort of problems is the reason why i have moved AlamofireJsonToObjects into EVReflection as a subspec. You can now use:
pod 'EVReflection/Alamofire'
There are now also subspecs for Moya, RxSwift and ReactiveSwift
The cause of this problem was the change of the function propertyMapping. It changed from:
override open func propertyMapping() -> [(String?, String?)] {
return [("__response_statusCode", nil)]
}
To:
override open func propertyMapping() -> [(keyInObject: String?, keyInResource: String?)] {
return [(keyInObject: "__response_statusCode", keyInResource: nil)]
}
I will push an update in a couple of minutes.
This has now been pushed as version 2.4.1
2.4.1 Appears to fix the issue. Well done! @evermeer
Using AlamofireJsonToObjects (2.4.0)
Any thoughts?