{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/Argo/issues/426","repository_url":"https://api.github.com/repos/thoughtbot/Argo","labels_url":"https://api.github.com/repos/thoughtbot/Argo/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/Argo/issues/426/comments","events_url":"https://api.github.com/repos/thoughtbot/Argo/issues/426/events","html_url":"https://github.com/thoughtbot/Argo/issues/426","id":187002571,"number":426,"title":"Error when specifying type in swift 3 ","user":{"login":"HugoSay","id":10938182,"avatar_url":"https://avatars.githubusercontent.com/u/10938182?v=3","gravatar_id":"","url":"https://api.github.com/users/HugoSay","html_url":"https://github.com/HugoSay","followers_url":"https://api.github.com/users/HugoSay/followers","following_url":"https://api.github.com/users/HugoSay/following{/other_user}","gists_url":"https://api.github.com/users/HugoSay/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoSay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoSay/subscriptions","organizations_url":"https://api.github.com/users/HugoSay/orgs","repos_url":"https://api.github.com/users/HugoSay/repos","events_url":"https://api.github.com/users/HugoSay/events{/privacy}","received_events_url":"https://api.github.com/users/HugoSay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-03T08:44:44Z","updated_at":"2016-11-14T18:21:37Z","closed_at":null,"body":"Hi there\r\nI'm converting my project to swift 3 and i'm sadly having problems with a large model (14 properties) I tried to add the types to my decode function as mentioned [here](https://github.com/thoughtbot/Argo/blob/master/Documentation/Curry-Limitations.md) but it sends me the following error \r\n### Error Messages\r\nNo '<|' candidates produce the expected contextual result type 'Decoded<_>'\r\n\r\n\r\n### Models\r\n\r\n_All models involved, including their `Decodable` implementations._\r\n(here is a test with a smaller model)\r\n\r\n``` swift\r\n/**\r\n *  Represent the response comming from the api\r\n */\r\npublic struct Yield {\r\n    public let quantity: Int //Identifier of step\r\n    public let unit: String //Description of step\r\n    public let display: String //Type of step PREPRATION\r\n}\r\n\r\nextension Yield: Decodable {\r\n    \r\n    public static func decode(_ json: JSON) -> Decoded<Yield> {\r\n        \r\n        let decoded = curry(Yield.init)\r\n        \r\n        return decoded\r\n            <^> json <| \"quantity\" as Decoded<Int>\r\n            <*> json <| \"unit\" as Decoded<String>\r\n            <*> json <| \"quantityDisplay\" as Decoded<String>\r\n    }\r\n}\r\n\r\n```\r\n\r\n### Argo \r\n\r\n- Argo (4.0.0):\r\n\r\n### Dependency Manager\r\n\r\n Cocoapods, "},"comment":{"url":"https://api.github.com/repos/thoughtbot/Argo/issues/comments/260417012","html_url":"https://github.com/thoughtbot/Argo/issues/426#issuecomment-260417012","issue_url":"https://api.github.com/repos/thoughtbot/Argo/issues/426","id":260417012,"user":{"login":"abdullahnkhan","id":4941526,"avatar_url":"https://avatars.githubusercontent.com/u/4941526?v=3","gravatar_id":"","url":"https://api.github.com/users/abdullahnkhan","html_url":"https://github.com/abdullahnkhan","followers_url":"https://api.github.com/users/abdullahnkhan/followers","following_url":"https://api.github.com/users/abdullahnkhan/following{/other_user}","gists_url":"https://api.github.com/users/abdullahnkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/abdullahnkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdullahnkhan/subscriptions","organizations_url":"https://api.github.com/users/abdullahnkhan/orgs","repos_url":"https://api.github.com/users/abdullahnkhan/repos","events_url":"https://api.github.com/users/abdullahnkhan/events{/privacy}","received_events_url":"https://api.github.com/users/abdullahnkhan/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T18:21:37Z","updated_at":"2016-11-14T18:21:37Z","body":"@gfontenot Many thanks. This fixed it. Sorry, if I missed something obvious :-| "}}
{"actor":{"display_login":"abdullahnkhan"}}