{"action":"created","issue":{"url":"https://api.github.com/repos/apollographql/apollo-link-state/issues/196","repository_url":"https://api.github.com/repos/apollographql/apollo-link-state","labels_url":"https://api.github.com/repos/apollographql/apollo-link-state/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/apollographql/apollo-link-state/issues/196/comments","events_url":"https://api.github.com/repos/apollographql/apollo-link-state/issues/196/events","html_url":"https://github.com/apollographql/apollo-link-state/issues/196","id":293964062,"number":196,"title":"Custom query resolvers not working","user":{"login":"akiran","id":3403295,"avatar_url":"https://avatars2.githubusercontent.com/u/3403295?v=4","gravatar_id":"","url":"https://api.github.com/users/akiran","html_url":"https://github.com/akiran","followers_url":"https://api.github.com/users/akiran/followers","following_url":"https://api.github.com/users/akiran/following{/other_user}","gists_url":"https://api.github.com/users/akiran/gists{/gist_id}","starred_url":"https://api.github.com/users/akiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiran/subscriptions","organizations_url":"https://api.github.com/users/akiran/orgs","repos_url":"https://api.github.com/users/akiran/repos","events_url":"https://api.github.com/users/akiran/events{/privacy}","received_events_url":"https://api.github.com/users/akiran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-02T17:26:25Z","updated_at":"2018-02-06T14:15:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I tried adding query resolvers similar to mutation resolvers passed to withClientState.\r\nBut these custom resolvers are not taken into consideration and only values in cache are returned.\r\nhttps://codesandbox.io/s/m5m0x9vo7x\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apollographql/apollo-link-state/issues/comments/363434694","html_url":"https://github.com/apollographql/apollo-link-state/issues/196#issuecomment-363434694","issue_url":"https://api.github.com/repos/apollographql/apollo-link-state/issues/196","id":363434694,"user":{"login":"wowzaaa","id":3641866,"avatar_url":"https://avatars1.githubusercontent.com/u/3641866?v=4","gravatar_id":"","url":"https://api.github.com/users/wowzaaa","html_url":"https://github.com/wowzaaa","followers_url":"https://api.github.com/users/wowzaaa/followers","following_url":"https://api.github.com/users/wowzaaa/following{/other_user}","gists_url":"https://api.github.com/users/wowzaaa/gists{/gist_id}","starred_url":"https://api.github.com/users/wowzaaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wowzaaa/subscriptions","organizations_url":"https://api.github.com/users/wowzaaa/orgs","repos_url":"https://api.github.com/users/wowzaaa/repos","events_url":"https://api.github.com/users/wowzaaa/events{/privacy}","received_events_url":"https://api.github.com/users/wowzaaa/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T14:15:58Z","updated_at":"2018-02-06T14:15:58Z","author_association":"NONE","body":"i've just read this from the docs :))\r\n\r\n> 4. Query resolvers are only called on a cache miss. Since the first time you call the query will be a cache miss, you should return any default state from your resolver function."}}
{"actor":{"display_login":"wowzaaa"}}