{"action":"opened","issue":{"url":"https://api.github.com/repos/apollostack/react-apollo/issues/309","repository_url":"https://api.github.com/repos/apollostack/react-apollo","labels_url":"https://api.github.com/repos/apollostack/react-apollo/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/react-apollo/issues/309/comments","events_url":"https://api.github.com/repos/apollostack/react-apollo/issues/309/events","html_url":"https://github.com/apollostack/react-apollo/issues/309","id":187276761,"number":309,"title":"Selector and business logic in apollo","user":{"login":"bojandragojevic","id":22933522,"avatar_url":"https://avatars.githubusercontent.com/u/22933522?v=3","gravatar_id":"","url":"https://api.github.com/users/bojandragojevic","html_url":"https://github.com/bojandragojevic","followers_url":"https://api.github.com/users/bojandragojevic/followers","following_url":"https://api.github.com/users/bojandragojevic/following{/other_user}","gists_url":"https://api.github.com/users/bojandragojevic/gists{/gist_id}","starred_url":"https://api.github.com/users/bojandragojevic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojandragojevic/subscriptions","organizations_url":"https://api.github.com/users/bojandragojevic/orgs","repos_url":"https://api.github.com/users/bojandragojevic/repos","events_url":"https://api.github.com/users/bojandragojevic/events{/privacy}","received_events_url":"https://api.github.com/users/bojandragojevic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-04T08:24:52Z","updated_at":"2016-11-04T08:24:52Z","closed_at":null,"body":"We know that with redux if you want to apply some additional logic on your data response in state before you pass it to component you can do it in selector. But since with apollo you connect data response directly to component I don't know where to apply this logic, here we do not have selectors.\r\n\r\nso we know store can look like this if we use redux and apollo\r\n```\r\nconst state = {\r\n  redux: {// application state},\r\n  apollo: {// apollo state and data}\r\n}\r\n```\r\nSo for redux you would select piece of state and pass it mapStateToProps and before you pass it you can apply some business logic to selected peace of state, but how to apply it to apollo peace of state?"}}
{"actor":{"display_login":"bojandragojevic"}}