{"action":"created","issue":{"url":"https://api.github.com/repos/agraboso/redux-api-middleware/issues/171","repository_url":"https://api.github.com/repos/agraboso/redux-api-middleware","labels_url":"https://api.github.com/repos/agraboso/redux-api-middleware/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/agraboso/redux-api-middleware/issues/171/comments","events_url":"https://api.github.com/repos/agraboso/redux-api-middleware/issues/171/events","html_url":"https://github.com/agraboso/redux-api-middleware/pull/171","id":295557033,"node_id":"MDExOlB1bGxSZXF1ZXN0MTY4MDA1NTI5","number":171,"title":"Add response handler","user":{"login":"iamandrewluca","id":1881266,"node_id":"MDQ6VXNlcjE4ODEyNjY=","avatar_url":"https://avatars1.githubusercontent.com/u/1881266?v=4","gravatar_id":"","url":"https://api.github.com/users/iamandrewluca","html_url":"https://github.com/iamandrewluca","followers_url":"https://api.github.com/users/iamandrewluca/followers","following_url":"https://api.github.com/users/iamandrewluca/following{/other_user}","gists_url":"https://api.github.com/users/iamandrewluca/gists{/gist_id}","starred_url":"https://api.github.com/users/iamandrewluca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamandrewluca/subscriptions","organizations_url":"https://api.github.com/users/iamandrewluca/orgs","repos_url":"https://api.github.com/users/iamandrewluca/repos","events_url":"https://api.github.com/users/iamandrewluca/events{/privacy}","received_events_url":"https://api.github.com/users/iamandrewluca/received_events","type":"User","site_admin":false},"labels":[{"id":249449316,"node_id":"MDU6TGFiZWwyNDk0NDkzMTY=","url":"https://api.github.com/repos/agraboso/redux-api-middleware/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/agraboso/redux-api-middleware/milestones/3","html_url":"https://github.com/agraboso/redux-api-middleware/milestone/3","labels_url":"https://api.github.com/repos/agraboso/redux-api-middleware/milestones/3/labels","id":3158409,"node_id":"MDk6TWlsZXN0b25lMzE1ODQwOQ==","number":3,"title":"3.0.0","description":"","creator":{"login":"nason","id":4752318,"node_id":"MDQ6VXNlcjQ3NTIzMTg=","avatar_url":"https://avatars3.githubusercontent.com/u/4752318?v=4","gravatar_id":"","url":"https://api.github.com/users/nason","html_url":"https://github.com/nason","followers_url":"https://api.github.com/users/nason/followers","following_url":"https://api.github.com/users/nason/following{/other_user}","gists_url":"https://api.github.com/users/nason/gists{/gist_id}","starred_url":"https://api.github.com/users/nason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nason/subscriptions","organizations_url":"https://api.github.com/users/nason/orgs","repos_url":"https://api.github.com/users/nason/repos","events_url":"https://api.github.com/users/nason/events{/privacy}","received_events_url":"https://api.github.com/users/nason/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":9,"state":"open","created_at":"2018-03-03T17:48:40Z","updated_at":"2018-06-12T13:16:30Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2018-02-08T15:35:11Z","updated_at":"2018-06-14T03:06:00Z","closed_at":"2018-06-10T18:56:12Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/agraboso/redux-api-middleware/pulls/171","html_url":"https://github.com/agraboso/redux-api-middleware/pull/171","diff_url":"https://github.com/agraboso/redux-api-middleware/pull/171.diff","patch_url":"https://github.com/agraboso/redux-api-middleware/pull/171.patch"},"body":"Added a wrapper for apiMiddleware so user can pass his own check if response is OK\r\n\r\nUser can import as usual `apiMiddleware`\r\nOr can import function `createMiddleware` that when called with options will return the `apiMiddleware`\r\n\r\nTODO:\r\n* [x] global response OK handler\r\n* [x] ~global JSON response handler~\r\n* [x] per-request response OK handler\r\n* [x] ~per-request JSON response handler~\r\n* [ ] Write tests\r\n* [ ] Add JsDocs\r\n* [ ] Update docs.\r\n\r\nCloses #170 "},"comment":{"url":"https://api.github.com/repos/agraboso/redux-api-middleware/issues/comments/397155840","html_url":"https://github.com/agraboso/redux-api-middleware/pull/171#issuecomment-397155840","issue_url":"https://api.github.com/repos/agraboso/redux-api-middleware/issues/171","id":397155840,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzE1NTg0MA==","user":{"login":"nason","id":4752318,"node_id":"MDQ6VXNlcjQ3NTIzMTg=","avatar_url":"https://avatars3.githubusercontent.com/u/4752318?v=4","gravatar_id":"","url":"https://api.github.com/users/nason","html_url":"https://github.com/nason","followers_url":"https://api.github.com/users/nason/followers","following_url":"https://api.github.com/users/nason/following{/other_user}","gists_url":"https://api.github.com/users/nason/gists{/gist_id}","starred_url":"https://api.github.com/users/nason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nason/subscriptions","organizations_url":"https://api.github.com/users/nason/orgs","repos_url":"https://api.github.com/users/nason/repos","events_url":"https://api.github.com/users/nason/events{/privacy}","received_events_url":"https://api.github.com/users/nason/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T03:06:00Z","updated_at":"2018-06-14T03:06:00Z","author_association":"COLLABORATOR","body":"This has been released in `3.0.0-beta.0`"}}
{"actor":{"display_login":"nason"}}