{"action":"opened","issue":{"url":"https://api.github.com/repos/apollographql/apollo-client/issues/3546","repository_url":"https://api.github.com/repos/apollographql/apollo-client","labels_url":"https://api.github.com/repos/apollographql/apollo-client/issues/3546/labels{/name}","comments_url":"https://api.github.com/repos/apollographql/apollo-client/issues/3546/comments","events_url":"https://api.github.com/repos/apollographql/apollo-client/issues/3546/events","html_url":"https://github.com/apollographql/apollo-client/issues/3546","id":329775502,"node_id":"MDU6SXNzdWUzMjk3NzU1MDI=","number":3546,"title":"[BUG] FetchMore() trigger QueryRef value changes before it's over","user":{"login":"OwlLaboratory","id":28731923,"node_id":"MDQ6VXNlcjI4NzMxOTIz","avatar_url":"https://avatars0.githubusercontent.com/u/28731923?v=4","gravatar_id":"","url":"https://api.github.com/users/OwlLaboratory","html_url":"https://github.com/OwlLaboratory","followers_url":"https://api.github.com/users/OwlLaboratory/followers","following_url":"https://api.github.com/users/OwlLaboratory/following{/other_user}","gists_url":"https://api.github.com/users/OwlLaboratory/gists{/gist_id}","starred_url":"https://api.github.com/users/OwlLaboratory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OwlLaboratory/subscriptions","organizations_url":"https://api.github.com/users/OwlLaboratory/orgs","repos_url":"https://api.github.com/users/OwlLaboratory/repos","events_url":"https://api.github.com/users/OwlLaboratory/events{/privacy}","received_events_url":"https://api.github.com/users/OwlLaboratory/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-06T08:56:15Z","updated_at":"2018-06-06T08:56:15Z","closed_at":null,"author_association":"NONE","body":"Hi everyone !\r\n\r\n**Intended outcome:**\r\n\r\nSince a few weeks I try to implement a very simple workflow with the fetchMore() function.\r\n\r\nI retrieve information from a campaign object: id, name, start_time, end_time.\r\nWhen the user clicks a button, new data for the campaign is retrieved via fetchMore().\r\n\r\n**Actual outcome:**\r\nWhenever I click on the button, the observable valueChanges of the queryRef detects a new value even before fetchMore () has finished its work.\r\nSo I never have my object updated in valueChanges.\r\n\r\n![apollo_issue](https://user-images.githubusercontent.com/28731923/41027483-73be715a-6977-11e8-9844-ce29321ef03a.png)\r\n\r\n**How to reproduce the issue:**\r\n\r\nHere is a stackblitz that reproduces the problem:\r\nThe logic is in **report.service.ts** & **app.component.ts**\r\nYou can see debug information in the console\r\nhttps://stackblitz.com/github/OwlLaboratory/apollo_angular_issue\r\n\r\n**Versions**\r\n\r\n  System:\r\n    OS: Linux 4.16 Fedora 28 (Workstation Edition) 28 (Workstation Edition)\r\n  Binaries:\r\n    Node: 8.11.2 - /usr/bin/node\r\n    npm: 5.6.0 - /usr/bin/npm\r\n  Browsers:\r\n    Chrome: 67.0.3396.62\r\n    Firefox: 60.0.1\r\n  npmPackages:\r\n    apollo-angular: ^1.1.0 => 1.1.0 \r\n    apollo-angular-link-http: ^1.1.0 => 1.1.0 \r\n    apollo-cache-inmemory: ^1.2.2 => 1.2.2 \r\n    apollo-client: ^2.3.2 => 2.3.2 \r\n    apollo-link: ^1.2.2 => 1.2.2 \r\n\r\nI would be infinitely grateful to the person who can explain to me where the problem comes from or if it is a bug?\r\n\r\nGood day everyone and thanks in advance (sorry for my poor english)"}}
{"actor":{"display_login":"OwlLaboratory"}}