{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/9788","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/9788/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/9788/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/9788/events","html_url":"https://github.com/Automattic/wp-calypso/pull/9788","id":193061682,"number":9788,"title":"Add SERVER_DESERIALIZE to themes/queries reducer.","user":{"login":"budzanowski","id":17271089,"avatar_url":"https://avatars.githubusercontent.com/u/17271089?v=3","gravatar_id":"","url":"https://api.github.com/users/budzanowski","html_url":"https://github.com/budzanowski","followers_url":"https://api.github.com/users/budzanowski/followers","following_url":"https://api.github.com/users/budzanowski/following{/other_user}","gists_url":"https://api.github.com/users/budzanowski/gists{/gist_id}","starred_url":"https://api.github.com/users/budzanowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/budzanowski/subscriptions","organizations_url":"https://api.github.com/users/budzanowski/orgs","repos_url":"https://api.github.com/users/budzanowski/repos","events_url":"https://api.github.com/users/budzanowski/events{/privacy}","received_events_url":"https://api.github.com/users/budzanowski/received_events","type":"User","site_admin":false},"labels":[{"id":285009985,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Themes","name":"Themes","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":{"login":"budzanowski","id":17271089,"avatar_url":"https://avatars.githubusercontent.com/u/17271089?v=3","gravatar_id":"","url":"https://api.github.com/users/budzanowski","html_url":"https://github.com/budzanowski","followers_url":"https://api.github.com/users/budzanowski/followers","following_url":"https://api.github.com/users/budzanowski/following{/other_user}","gists_url":"https://api.github.com/users/budzanowski/gists{/gist_id}","starred_url":"https://api.github.com/users/budzanowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/budzanowski/subscriptions","organizations_url":"https://api.github.com/users/budzanowski/orgs","repos_url":"https://api.github.com/users/budzanowski/repos","events_url":"https://api.github.com/users/budzanowski/events{/privacy}","received_events_url":"https://api.github.com/users/budzanowski/received_events","type":"User","site_admin":false},"assignees":[{"login":"budzanowski","id":17271089,"avatar_url":"https://avatars.githubusercontent.com/u/17271089?v=3","gravatar_id":"","url":"https://api.github.com/users/budzanowski","html_url":"https://github.com/budzanowski","followers_url":"https://api.github.com/users/budzanowski/followers","following_url":"https://api.github.com/users/budzanowski/following{/other_user}","gists_url":"https://api.github.com/users/budzanowski/gists{/gist_id}","starred_url":"https://api.github.com/users/budzanowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/budzanowski/subscriptions","organizations_url":"https://api.github.com/users/budzanowski/orgs","repos_url":"https://api.github.com/users/budzanowski/repos","events_url":"https://api.github.com/users/budzanowski/events{/privacy}","received_events_url":"https://api.github.com/users/budzanowski/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/136","html_url":"https://github.com/Automattic/wp-calypso/milestones/Themes:%20JetPress%20Rally","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/136/labels","id":2068769,"number":136,"title":"Themes: JetPress Rally","description":null,"creator":{"login":"ockham","id":96308,"avatar_url":"https://avatars.githubusercontent.com/u/96308?v=3","gravatar_id":"","url":"https://api.github.com/users/ockham","html_url":"https://github.com/ockham","followers_url":"https://api.github.com/users/ockham/followers","following_url":"https://api.github.com/users/ockham/following{/other_user}","gists_url":"https://api.github.com/users/ockham/gists{/gist_id}","starred_url":"https://api.github.com/users/ockham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ockham/subscriptions","organizations_url":"https://api.github.com/users/ockham/orgs","repos_url":"https://api.github.com/users/ockham/repos","events_url":"https://api.github.com/users/ockham/events{/privacy}","received_events_url":"https://api.github.com/users/ockham/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":47,"state":"open","created_at":"2016-10-13T20:30:13Z","updated_at":"2016-12-02T14:02:13Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-12-02T08:39:30Z","updated_at":"2016-12-02T14:52:09Z","closed_at":"2016-12-02T12:10:02Z","pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/9788","html_url":"https://github.com/Automattic/wp-calypso/pull/9788","diff_url":"https://github.com/Automattic/wp-calypso/pull/9788.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/9788.patch"},"body":"## Info\r\n`queries` reducer from themes worked incorrectly when it was inflated from state provided by server.\r\nThis was happening because `queries` operates on `QueryManager` instances and not state raw data. The \"raw\" data was `queries` state serialized on server and send as a part of SSR and feed back to `queries` on client. To work it requires deserialization process that will transform raw data into `QueryManager` form. For SSRed state this process is don by defining `SERVER_DESERIALIZE` action handler in `queries` reducer that handles deserialization. For `queries` normal and server deserialization is exactly the same."},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/264471207","html_url":"https://github.com/Automattic/wp-calypso/pull/9788#issuecomment-264471207","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/9788","id":264471207,"user":{"login":"seear","id":7767559,"avatar_url":"https://avatars.githubusercontent.com/u/7767559?v=3","gravatar_id":"","url":"https://api.github.com/users/seear","html_url":"https://github.com/seear","followers_url":"https://api.github.com/users/seear/followers","following_url":"https://api.github.com/users/seear/following{/other_user}","gists_url":"https://api.github.com/users/seear/gists{/gist_id}","starred_url":"https://api.github.com/users/seear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seear/subscriptions","organizations_url":"https://api.github.com/users/seear/orgs","repos_url":"https://api.github.com/users/seear/repos","events_url":"https://api.github.com/users/seear/events{/privacy}","received_events_url":"https://api.github.com/users/seear/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T14:52:09Z","updated_at":"2016-12-02T14:52:09Z","body":"> so maybe it was because of Immutable.js\r\n\r\nPretty sure this was the case."}}
{"actor":{"display_login":"seear"}}