{"action":"closed","issue":{"url":"https://api.github.com/repos/cult-of-coders/grapher/issues/134","repository_url":"https://api.github.com/repos/cult-of-coders/grapher","labels_url":"https://api.github.com/repos/cult-of-coders/grapher/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/cult-of-coders/grapher/issues/134/comments","events_url":"https://api.github.com/repos/cult-of-coders/grapher/issues/134/events","html_url":"https://github.com/cult-of-coders/grapher/issues/134","id":226388380,"number":134,"title":"Sub exposure query error","user":{"login":"macsj200","id":5246841,"avatar_url":"https://avatars1.githubusercontent.com/u/5246841?v=3","gravatar_id":"","url":"https://api.github.com/users/macsj200","html_url":"https://github.com/macsj200","followers_url":"https://api.github.com/users/macsj200/followers","following_url":"https://api.github.com/users/macsj200/following{/other_user}","gists_url":"https://api.github.com/users/macsj200/gists{/gist_id}","starred_url":"https://api.github.com/users/macsj200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macsj200/subscriptions","organizations_url":"https://api.github.com/users/macsj200/orgs","repos_url":"https://api.github.com/users/macsj200/repos","events_url":"https://api.github.com/users/macsj200/events{/privacy}","received_events_url":"https://api.github.com/users/macsj200/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-05-04T19:45:16Z","updated_at":"2017-06-14T09:28:20Z","closed_at":"2017-06-14T09:28:19Z","body":"I have a single link defined that maps to a string ID key in my schema. When I try to query the sub exposure using grapher, I get this error:\r\n```\r\nroot.collection.getLinker is not a function\r\n```\r\nI'm pretty sure the error is thrown at [this line](https://github.com/cult-of-coders/grapher/blob/84fea54bfded4bd6d8c67cb4f5ce503f08270040/lib/query/lib/createGraph.js#L34). I've tried to debug this issue in the console, and for some reason it appears as though the collection object at that point hasn't had all the grapher methods injected into it yet. Do you know if there's something going wonky with the lifecycle here?"}}
{"actor":{"display_login":"theodorDiaconu"}}