{"action":"created","issue":{"url":"https://api.github.com/repos/dmail/http/issues/3","labels_url":"https://api.github.com/repos/dmail/http/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dmail/http/issues/3/comments","events_url":"https://api.github.com/repos/dmail/http/issues/3/events","html_url":"https://github.com/dmail/http/issues/3","id":110184827,"number":3,"title":"Interceptors renamed services & moved to ResponseGenerator","user":{"login":"dmail","id":443639,"avatar_url":"https://avatars.githubusercontent.com/u/443639?v=3","gravatar_id":"","url":"https://api.github.com/users/dmail","html_url":"https://github.com/dmail","followers_url":"https://api.github.com/users/dmail/followers","following_url":"https://api.github.com/users/dmail/following{/other_user}","gists_url":"https://api.github.com/users/dmail/gists{/gist_id}","starred_url":"https://api.github.com/users/dmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmail/subscriptions","organizations_url":"https://api.github.com/users/dmail/orgs","repos_url":"https://api.github.com/users/dmail/repos","events_url":"https://api.github.com/users/dmail/events{/privacy}","received_events_url":"https://api.github.com/users/dmail/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T09:25:47Z","updated_at":"2015-10-07T12:48:35Z","closed_at":null,"body":"Services are responsible to produce a response for a given request.\r\nServices prevent request from being sent when on of them produce a response.\r\nThis logic belongs to ResponseGenerator because Request object represent a request that can be sent many times and even be passed to an other ResponseGenerator. Putting the logic into Request objet prevent this behaviour so it must be move to ResponseGenerator.\r\n\r\nClient side it means you can add custom local services acting as if server had responded.\r\nServer side it means you can create a request from the client request and try to produce a response without sending this request because you're already handling it.\r\n\r\nWe may need an other structure to transform the created response but I think it will be the responsability of the module user to transform the response created."},"comment":{"url":"https://api.github.com/repos/dmail/http/issues/comments/146186493","html_url":"https://github.com/dmail/http/issues/3#issuecomment-146186493","issue_url":"https://api.github.com/repos/dmail/http/issues/3","id":146186493,"user":{"login":"dmail","id":443639,"avatar_url":"https://avatars.githubusercontent.com/u/443639?v=3","gravatar_id":"","url":"https://api.github.com/users/dmail","html_url":"https://github.com/dmail","followers_url":"https://api.github.com/users/dmail/followers","following_url":"https://api.github.com/users/dmail/following{/other_user}","gists_url":"https://api.github.com/users/dmail/gists{/gist_id}","starred_url":"https://api.github.com/users/dmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmail/subscriptions","organizations_url":"https://api.github.com/users/dmail/orgs","repos_url":"https://api.github.com/users/dmail/repos","events_url":"https://api.github.com/users/dmail/events{/privacy}","received_events_url":"https://api.github.com/users/dmail/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T12:48:35Z","updated_at":"2015-10-07T12:48:35Z","body":"Request should be frozenable during fetch().\r\nIn short request-platform disapear. The createResponsePropertiesPromise function belongs to RepsonseGenerator as well."}}