{"action":"created","issue":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/677","repository_url":"https://api.github.com/repos/apollostack/apollo-client","labels_url":"https://api.github.com/repos/apollostack/apollo-client/issues/677/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/apollo-client/issues/677/comments","events_url":"https://api.github.com/repos/apollostack/apollo-client/issues/677/events","html_url":"https://github.com/apollostack/apollo-client/issues/677","id":178058639,"number":677,"title":"Cannot read property 'queries'","user":{"login":"cristiandley","id":1873659,"avatar_url":"https://avatars.githubusercontent.com/u/1873659?v=3","gravatar_id":"","url":"https://api.github.com/users/cristiandley","html_url":"https://github.com/cristiandley","followers_url":"https://api.github.com/users/cristiandley/followers","following_url":"https://api.github.com/users/cristiandley/following{/other_user}","gists_url":"https://api.github.com/users/cristiandley/gists{/gist_id}","starred_url":"https://api.github.com/users/cristiandley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristiandley/subscriptions","organizations_url":"https://api.github.com/users/cristiandley/orgs","repos_url":"https://api.github.com/users/cristiandley/repos","events_url":"https://api.github.com/users/cristiandley/events{/privacy}","received_events_url":"https://api.github.com/users/cristiandley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-09-20T13:24:54Z","updated_at":"2016-09-21T11:22:13Z","closed_at":"2016-09-21T11:22:12Z","body":"Im getting a weird error after updating from **0.4.12 to 0.4.16**\r\n\r\nLog:\r\n\r\n``` log\r\naction @ 10:19:13.762 APOLLO_QUERY_INIT \r\naction @ 10:19:13.777 APOLLO_QUERY_INIT \r\naction @ 10:19:13.869 APOLLO_QUERY_RESULT \r\naction @ 10:19:13.874 APOLLO_QUERY_ERROR \r\naction @ 10:19:13.878 APOLLO_QUERY_RESULT \r\naction @ 10:19:13.881 APOLLO_QUERY_ERROR \r\n```\r\n\r\nError:\r\n\r\n```javascript\r\n{\r\n    type: \"APOLLO_QUERY_ERROR\", \r\n    error: TypeError: Cannot read property 'queries' of undefined at next        (http://localhost:3000/packages/m…, queryId: \"2\", requestId: 3\r\n}\r\n```\r\nMy queries server side and testing them from `/graphiql` works great\r\n\r\nat first i thought it was something to do with my reducer... this is my client, but seems to work fine for other versions:\r\n\r\n```javascript\r\nconst client= new ApolloClient({ networkInterface });\r\n\r\nconst rootReducer = combineReducers({\r\n  gestorFiltros,\r\n  apollo: client.reducer()\r\n});\r\n\r\n//client.middleware(), createLogger() en caso de debugeo\r\nconst store = createStore(\r\n  rootReducer, {},\r\n  applyMiddleware(client.middleware(), createLogger()),\r\n  window.devToolsExtension ? window.devToolsExtension() : f => f\r\n);\r\n\r\n\r\nMeteor.startup(() => {\r\n  localStorage.debug = null\r\n  ReactDOM.render(\r\n    <ApolloProvider store={store} client={client}>\r\n      <Rutas />\r\n    </ApolloProvider>,\r\n    document.getElementById('app')\r\n  );\r\n});\r\n```\r\n\r\n---------------------------\r\n\r\n# EDIT\r\n\r\n--------------------------\r\n\r\ni just added the `reduxRootKey`\r\n\r\n```\r\nconst client = new ApolloClient({\r\n   networkInterface,\r\n   reduxRootKey: 'apollo',\r\n});\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/comments/248582823","html_url":"https://github.com/apollostack/apollo-client/issues/677#issuecomment-248582823","issue_url":"https://api.github.com/repos/apollostack/apollo-client/issues/677","id":248582823,"user":{"login":"rricard","id":246520,"avatar_url":"https://avatars.githubusercontent.com/u/246520?v=3","gravatar_id":"","url":"https://api.github.com/users/rricard","html_url":"https://github.com/rricard","followers_url":"https://api.github.com/users/rricard/followers","following_url":"https://api.github.com/users/rricard/following{/other_user}","gists_url":"https://api.github.com/users/rricard/gists{/gist_id}","starred_url":"https://api.github.com/users/rricard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rricard/subscriptions","organizations_url":"https://api.github.com/users/rricard/orgs","repos_url":"https://api.github.com/users/rricard/repos","events_url":"https://api.github.com/users/rricard/events{/privacy}","received_events_url":"https://api.github.com/users/rricard/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T11:22:12Z","updated_at":"2016-09-21T11:22:12Z","body":"Let's close this then! 😉 🎉 "}}
{"actor":{"display_login":"rricard"}}