{"action":"created","issue":{"url":"https://api.github.com/repos/apollostack/apollo-demo/issues/12","repository_url":"https://api.github.com/repos/apollostack/apollo-demo","labels_url":"https://api.github.com/repos/apollostack/apollo-demo/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/apollo-demo/issues/12/comments","events_url":"https://api.github.com/repos/apollostack/apollo-demo/issues/12/events","html_url":"https://github.com/apollostack/apollo-demo/pull/12","id":153622076,"number":12,"title":"Checking the endpoint.url","user":{"login":"jamielob","id":7291184,"avatar_url":"https://avatars.githubusercontent.com/u/7291184?v=3","gravatar_id":"","url":"https://api.github.com/users/jamielob","html_url":"https://github.com/jamielob","followers_url":"https://api.github.com/users/jamielob/followers","following_url":"https://api.github.com/users/jamielob/following{/other_user}","gists_url":"https://api.github.com/users/jamielob/gists{/gist_id}","starred_url":"https://api.github.com/users/jamielob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamielob/subscriptions","organizations_url":"https://api.github.com/users/jamielob/orgs","repos_url":"https://api.github.com/users/jamielob/repos","events_url":"https://api.github.com/users/jamielob/events{/privacy}","received_events_url":"https://api.github.com/users/jamielob/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-07T22:39:06Z","updated_at":"2016-05-12T23:36:19Z","closed_at":"2016-05-12T23:36:19Z","pull_request":{"url":"https://api.github.com/repos/apollostack/apollo-demo/pulls/12","html_url":"https://github.com/apollostack/apollo-demo/pull/12","diff_url":"https://github.com/apollostack/apollo-demo/pull/12.diff","patch_url":"https://github.com/apollostack/apollo-demo/pull/12.patch"},"body":"Hey @stubailo,\r\n\r\nWhen performing a simple query  the `endpoint.url` is just a string, so it returns an error when we try to use it as a function and pass in the non-existent args.  \r\n\r\nNot sure if `typeof` is the best way to do it, or to just simply check if there are any args.\r\n\r\nTo replicate the problem go to graphiQL and run:\r\n\r\n```\r\n{\r\n  allPosts {\r\n    id\r\n  }\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/apollostack/apollo-demo/issues/comments/218915541","html_url":"https://github.com/apollostack/apollo-demo/pull/12#issuecomment-218915541","issue_url":"https://api.github.com/repos/apollostack/apollo-demo/issues/12","id":218915541,"user":{"login":"stubailo","id":448783,"avatar_url":"https://avatars.githubusercontent.com/u/448783?v=3","gravatar_id":"","url":"https://api.github.com/users/stubailo","html_url":"https://github.com/stubailo","followers_url":"https://api.github.com/users/stubailo/followers","following_url":"https://api.github.com/users/stubailo/following{/other_user}","gists_url":"https://api.github.com/users/stubailo/gists{/gist_id}","starred_url":"https://api.github.com/users/stubailo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubailo/subscriptions","organizations_url":"https://api.github.com/users/stubailo/orgs","repos_url":"https://api.github.com/users/stubailo/repos","events_url":"https://api.github.com/users/stubailo/events{/privacy}","received_events_url":"https://api.github.com/users/stubailo/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T23:36:19Z","updated_at":"2016-05-12T23:36:19Z","body":"Since everyone seems to agree, going to close the PR."}}