{"action":"created","issue":{"url":"https://api.github.com/repos/DenisKolodin/yew/issues/267","repository_url":"https://api.github.com/repos/DenisKolodin/yew","labels_url":"https://api.github.com/repos/DenisKolodin/yew/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/DenisKolodin/yew/issues/267/comments","events_url":"https://api.github.com/repos/DenisKolodin/yew/issues/267/events","html_url":"https://github.com/DenisKolodin/yew/pull/267","id":328844841,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMjU3Mjkz","number":267,"title":"Add error handling for npm_and_rest example","user":{"login":"limira","id":20672976,"node_id":"MDQ6VXNlcjIwNjcyOTc2","avatar_url":"https://avatars3.githubusercontent.com/u/20672976?v=4","gravatar_id":"","url":"https://api.github.com/users/limira","html_url":"https://github.com/limira","followers_url":"https://api.github.com/users/limira/followers","following_url":"https://api.github.com/users/limira/following{/other_user}","gists_url":"https://api.github.com/users/limira/gists{/gist_id}","starred_url":"https://api.github.com/users/limira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limira/subscriptions","organizations_url":"https://api.github.com/users/limira/orgs","repos_url":"https://api.github.com/users/limira/repos","events_url":"https://api.github.com/users/limira/events{/privacy}","received_events_url":"https://api.github.com/users/limira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-03T17:07:51Z","updated_at":"2018-06-03T18:49:05Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/DenisKolodin/yew/pulls/267","html_url":"https://github.com/DenisKolodin/yew/pull/267","diff_url":"https://github.com/DenisKolodin/yew/pull/267.diff","patch_url":"https://github.com/DenisKolodin/yew/pull/267.patch"},"body":"For example of `fetch` service, there is some more in depth portion of code in `examples/dashboard` but I was overwhelmed by the size (number of lines of code) of that example. I try `fetch` example in `npm_and_rest` because it is much simpler to understand, but something went wrong and it took me some hours to figure out what is missing. \r\n\r\nSo I added the error handling to make it clear that there are something to check there. (For anyone like me - that the `Error` in `Response<Json<Result<Profile, Error>>>` is not enough)"},"comment":{"url":"https://api.github.com/repos/DenisKolodin/yew/issues/comments/394182817","html_url":"https://github.com/DenisKolodin/yew/pull/267#issuecomment-394182817","issue_url":"https://api.github.com/repos/DenisKolodin/yew/issues/267","id":394182817,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDE4MjgxNw==","user":{"login":"DenisKolodin","id":418920,"node_id":"MDQ6VXNlcjQxODkyMA==","avatar_url":"https://avatars3.githubusercontent.com/u/418920?v=4","gravatar_id":"","url":"https://api.github.com/users/DenisKolodin","html_url":"https://github.com/DenisKolodin","followers_url":"https://api.github.com/users/DenisKolodin/followers","following_url":"https://api.github.com/users/DenisKolodin/following{/other_user}","gists_url":"https://api.github.com/users/DenisKolodin/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisKolodin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisKolodin/subscriptions","organizations_url":"https://api.github.com/users/DenisKolodin/orgs","repos_url":"https://api.github.com/users/DenisKolodin/repos","events_url":"https://api.github.com/users/DenisKolodin/events{/privacy}","received_events_url":"https://api.github.com/users/DenisKolodin/received_events","type":"User","site_admin":false},"created_at":"2018-06-03T18:49:05Z","updated_at":"2018-06-03T18:49:05Z","author_association":"OWNER","body":"bors r+"}}
{"actor":{"display_login":"DenisKolodin"}}