{"action":"created","issue":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/804","repository_url":"https://api.github.com/repos/apollostack/apollo-client","labels_url":"https://api.github.com/repos/apollostack/apollo-client/issues/804/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/apollo-client/issues/804/comments","events_url":"https://api.github.com/repos/apollostack/apollo-client/issues/804/events","html_url":"https://github.com/apollostack/apollo-client/issues/804","id":183763401,"number":804,"title":"Bad \"Perhaps you want to use the 'returnPartialData' option?\" error.","user":{"login":"NeoPhi","id":721316,"avatar_url":"https://avatars.githubusercontent.com/u/721316?v=3","gravatar_id":"","url":"https://api.github.com/users/NeoPhi","html_url":"https://github.com/NeoPhi","followers_url":"https://api.github.com/users/NeoPhi/followers","following_url":"https://api.github.com/users/NeoPhi/following{/other_user}","gists_url":"https://api.github.com/users/NeoPhi/gists{/gist_id}","starred_url":"https://api.github.com/users/NeoPhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeoPhi/subscriptions","organizations_url":"https://api.github.com/users/NeoPhi/orgs","repos_url":"https://api.github.com/users/NeoPhi/repos","events_url":"https://api.github.com/users/NeoPhi/events{/privacy}","received_events_url":"https://api.github.com/users/NeoPhi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apollostack/apollo-client/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-18T18:16:08Z","updated_at":"2016-10-20T19:16:48Z","closed_at":null,"body":"I've been seeing `Perhaps you want to use the 'returnPartialData' option?` errors since upgrading to 0.4.21. This seems to happen when props change while the previous a query is in flight.\r\n\r\nThe issue seems to be that the previous query is still in flight but the variables change so the QueryManager thinks data should already been in the store and it bails trying to find that data.\r\nhttps://github.com/apollostack/apollo-client/blob/master/src/core/QueryManager.ts#L341\r\n\r\n`queryStoreValue.previousVariables` is populated so it tries to read the `resultFromStore` but that data doesn't exist in the store since the original query is still in flight.\r\n\r\nI don't have a minimal test case repo for this."},"comment":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/comments/255201228","html_url":"https://github.com/apollostack/apollo-client/issues/804#issuecomment-255201228","issue_url":"https://api.github.com/repos/apollostack/apollo-client/issues/804","id":255201228,"user":{"login":"NeoPhi","id":721316,"avatar_url":"https://avatars.githubusercontent.com/u/721316?v=3","gravatar_id":"","url":"https://api.github.com/users/NeoPhi","html_url":"https://github.com/NeoPhi","followers_url":"https://api.github.com/users/NeoPhi/followers","following_url":"https://api.github.com/users/NeoPhi/following{/other_user}","gists_url":"https://api.github.com/users/NeoPhi/gists{/gist_id}","starred_url":"https://api.github.com/users/NeoPhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeoPhi/subscriptions","organizations_url":"https://api.github.com/users/NeoPhi/orgs","repos_url":"https://api.github.com/users/NeoPhi/repos","events_url":"https://api.github.com/users/NeoPhi/events{/privacy}","received_events_url":"https://api.github.com/users/NeoPhi/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T19:16:48Z","updated_at":"2016-10-20T19:16:48Z","body":"@helfer I jumped from \"apollo-client\": \"^0.4.14\" and \"react-apollo\": \"^0.5.1\" to \"apollo-client\": \"^0.4.21\" and \"react-apollo\": \"^0.5.10\"."}}
{"actor":{"display_login":"NeoPhi"}}