Closed polqf closed 7 years ago
Thanks for reporting. I've removed the [Decodable: Any].decode overload which were causing the ambiguity since beta 6. (Which creates a new problem – #120, but better something's working.)
Thanks @Anviking , everything is working as before ! 👍
Hi!
I am having troubles decoding an object that its output is a dictionary (
[String : Model]
)Let's say I have the following JSON.
What I used to do to get the Decoded objects was:
And everything was working fine in Xcode8b3. But today I migrated to Xcode8b6 and this is not working anymore. Xcode is emitting the following error:
Seems like is finding to definitions for the
decode
func. But if try to call thedecode
func from a Decodable object, or even an array of Decodable objects, everything works.I've created a super dummy project that reproduces it, I'm attaching it.
TestDecodable.zip
Thanks a lot