{"action":"created","issue":{"url":"https://api.github.com/repos/TelescopeJS/Telescope/issues/1498","repository_url":"https://api.github.com/repos/TelescopeJS/Telescope","labels_url":"https://api.github.com/repos/TelescopeJS/Telescope/issues/1498/labels{/name}","comments_url":"https://api.github.com/repos/TelescopeJS/Telescope/issues/1498/comments","events_url":"https://api.github.com/repos/TelescopeJS/Telescope/issues/1498/events","html_url":"https://github.com/TelescopeJS/Telescope/issues/1498","id":187238249,"number":1498,"title":"Apollo Questions","user":{"login":"SachaG","id":358832,"avatar_url":"https://avatars.githubusercontent.com/u/358832?v=3","gravatar_id":"","url":"https://api.github.com/users/SachaG","html_url":"https://github.com/SachaG","followers_url":"https://api.github.com/users/SachaG/followers","following_url":"https://api.github.com/users/SachaG/following{/other_user}","gists_url":"https://api.github.com/users/SachaG/gists{/gist_id}","starred_url":"https://api.github.com/users/SachaG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SachaG/subscriptions","organizations_url":"https://api.github.com/users/SachaG/orgs","repos_url":"https://api.github.com/users/SachaG/repos","events_url":"https://api.github.com/users/SachaG/events{/privacy}","received_events_url":"https://api.github.com/users/SachaG/received_events","type":"User","site_admin":false},"labels":[{"id":456250243,"url":"https://api.github.com/repos/TelescopeJS/Telescope/labels/apollo","name":"apollo","color":"22A699","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-04T02:14:26Z","updated_at":"2016-11-10T09:57:48Z","closed_at":null,"body":"Let's centralize all our questions about Apollo in here and I'll try to get someone from the Apollo team to answer them all at once. \r\n\r\n- [x] Can you use dots inside GraphQL mutation names? for example could you name your mutation `posts.new` or would it have to be `postsNew`?\r\n- [x] When I call a mutation using `this.props.myMutation(...).then(result => {// do something})`, the returned document is available as `result.data.nameOfMutation`. Is there a way to change that `nameOfMutation` part to something else?\r\n- [ ] The example in http://dev.apollodata.com/react/cache-updates.html#updateQueries uses `unshift` to add a new comment at the top of the list. So far so good, but what if your list is sorted? For example, let's say I have a list of books sorted alphabetically and I'm adding a new book somewhere in the list. Would I need to manually re-sort the list myself inside the `updateQueries` function and return that, or is there some kind of helper?\r\n- [x] If I get a document back as a result of a mutation and it gets inserted in the store properly, would Apollo know not to re-query the server for it? what criteria would Apollo use to decide?"},"comment":{"url":"https://api.github.com/repos/TelescopeJS/Telescope/issues/comments/259648351","html_url":"https://github.com/TelescopeJS/Telescope/issues/1498#issuecomment-259648351","issue_url":"https://api.github.com/repos/TelescopeJS/Telescope/issues/1498","id":259648351,"user":{"login":"xavcz","id":13962779,"avatar_url":"https://avatars.githubusercontent.com/u/13962779?v=3","gravatar_id":"","url":"https://api.github.com/users/xavcz","html_url":"https://github.com/xavcz","followers_url":"https://api.github.com/users/xavcz/followers","following_url":"https://api.github.com/users/xavcz/following{/other_user}","gists_url":"https://api.github.com/users/xavcz/gists{/gist_id}","starred_url":"https://api.github.com/users/xavcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavcz/subscriptions","organizations_url":"https://api.github.com/users/xavcz/orgs","repos_url":"https://api.github.com/users/xavcz/repos","events_url":"https://api.github.com/users/xavcz/events{/privacy}","received_events_url":"https://api.github.com/users/xavcz/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T09:57:48Z","updated_at":"2016-11-10T09:57:48Z","body":"[ ] How would you handle server-side rendering with Apollo and Meteor, especially get the `Accounts._storedLoginToken` and pass it to `ApolloClient` client side?"}}
{"actor":{"display_login":"xavcz"}}