{"action":"created","issue":{"url":"https://api.github.com/repos/cyclejs/cyclejs/issues/415","repository_url":"https://api.github.com/repos/cyclejs/cyclejs","labels_url":"https://api.github.com/repos/cyclejs/cyclejs/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/cyclejs/cyclejs/issues/415/comments","events_url":"https://api.github.com/repos/cyclejs/cyclejs/issues/415/events","html_url":"https://github.com/cyclejs/cyclejs/issues/415","id":174711473,"number":415,"title":"Mutation of original request object in isolate","user":{"login":"whitecolor","id":736697,"avatar_url":"https://avatars.githubusercontent.com/u/736697?v=3","gravatar_id":"","url":"https://api.github.com/users/whitecolor","html_url":"https://github.com/whitecolor","followers_url":"https://api.github.com/users/whitecolor/followers","following_url":"https://api.github.com/users/whitecolor/following{/other_user}","gists_url":"https://api.github.com/users/whitecolor/gists{/gist_id}","starred_url":"https://api.github.com/users/whitecolor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitecolor/subscriptions","organizations_url":"https://api.github.com/users/whitecolor/orgs","repos_url":"https://api.github.com/users/whitecolor/repos","events_url":"https://api.github.com/users/whitecolor/events{/privacy}","received_events_url":"https://api.github.com/users/whitecolor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-02T08:54:25Z","updated_at":"2016-10-14T10:52:33Z","closed_at":"2016-10-14T10:52:33Z","body":"Currently isolation of http driver mutates original request object \r\nhttps://github.com/cyclejs/cyclejs/blob/master/http/src/isolate.ts#L20\r\n\r\nDon't you think that it should be avoided and new object created instead in isolate? Though it is not clear what to do it request object is not a plain object but for example immutablejs."},"comment":{"url":"https://api.github.com/repos/cyclejs/cyclejs/issues/comments/253769359","html_url":"https://github.com/cyclejs/cyclejs/issues/415#issuecomment-253769359","issue_url":"https://api.github.com/repos/cyclejs/cyclejs/issues/415","id":253769359,"user":{"login":"staltz","id":90512,"avatar_url":"https://avatars.githubusercontent.com/u/90512?v=3","gravatar_id":"","url":"https://api.github.com/users/staltz","html_url":"https://github.com/staltz","followers_url":"https://api.github.com/users/staltz/followers","following_url":"https://api.github.com/users/staltz/following{/other_user}","gists_url":"https://api.github.com/users/staltz/gists{/gist_id}","starred_url":"https://api.github.com/users/staltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staltz/subscriptions","organizations_url":"https://api.github.com/users/staltz/orgs","repos_url":"https://api.github.com/users/staltz/repos","events_url":"https://api.github.com/users/staltz/events{/privacy}","received_events_url":"https://api.github.com/users/staltz/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T10:52:33Z","updated_at":"2016-10-14T10:52:33Z","body":"I don't think mutation is a problem **if** it doesn't express itself as a bug in applications. Actually there are many cases where it's more performant to use mutations. Generally, Cycle.js is written internally with OOP classes and mutation, but Cycle.js is *used* with only functions and immutability."}}
{"actor":{"display_login":"staltz"}}