thoughtbot / Argo

Functional JSON parsing library for Swift
https://thoughtbot.com
MIT License
3.49k stars 198 forks source link

Problem with Decodable on xcode 9 #471

Closed Gvardia closed 6 years ago

Gvardia commented 7 years ago

I was update Xcode to 9 and start to have a problem with compiling project 2017-09-25 12 25 30 It show on all Decodable file.

gfontenot commented 7 years ago

Yeah, sorry about this. I really need to sit down and work on this larger rename, but haven't had any free time for a while.

For now, this error can be fixed by disambiguating the reference to Decodable. That means replacing instances of Decodable with Argo.Decodable. I'm planning on renaming Decodable soon, but I'll try to make sure that references to Argo.Decodable still resolve properly so that this causes as little pain as possible. The rest of the lib is syntacticly compatible between Swift 3 and Swift 4.

Gvardia commented 7 years ago

Thanks It helped. And for those who use Swish it will also help (Swish.Request) Just to notes.

gfontenot commented 6 years ago

I'm going to go ahead and close this issue due to inactivity. Feel free to re-open if you'd like to discuss further.