{"action":"created","issue":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/129","repository_url":"https://api.github.com/repos/apollostack/apollo-client","labels_url":"https://api.github.com/repos/apollostack/apollo-client/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/apollo-client/issues/129/comments","events_url":"https://api.github.com/repos/apollostack/apollo-client/issues/129/events","html_url":"https://github.com/apollostack/apollo-client/pull/129","id":149523363,"number":129,"title":"Put back mocked SWAPI once it's fixed","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},"labels":[],"state":"open","locked":false,"assignee":{"login":"martijnwalraven","id":54485,"avatar_url":"https://avatars.githubusercontent.com/u/54485?v=3","gravatar_id":"","url":"https://api.github.com/users/martijnwalraven","html_url":"https://github.com/martijnwalraven","followers_url":"https://api.github.com/users/martijnwalraven/followers","following_url":"https://api.github.com/users/martijnwalraven/following{/other_user}","gists_url":"https://api.github.com/users/martijnwalraven/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnwalraven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnwalraven/subscriptions","organizations_url":"https://api.github.com/users/martijnwalraven/orgs","repos_url":"https://api.github.com/users/martijnwalraven/repos","events_url":"https://api.github.com/users/martijnwalraven/events{/privacy}","received_events_url":"https://api.github.com/users/martijnwalraven/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-19T17:10:59Z","updated_at":"2016-04-20T09:56:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apollostack/apollo-client/pulls/129","html_url":"https://github.com/apollostack/apollo-client/pull/129","diff_url":"https://github.com/apollostack/apollo-client/pull/129.diff","patch_url":"https://github.com/apollostack/apollo-client/pull/129.patch"},"body":"Something about NPM deps ended up breaking the `swapi-graphql` package, so I've removed it from the build for now, and pointed back at the real server."},"comment":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/comments/212358191","html_url":"https://github.com/apollostack/apollo-client/pull/129#issuecomment-212358191","issue_url":"https://api.github.com/repos/apollostack/apollo-client/issues/129","id":212358191,"user":{"login":"martijnwalraven","id":54485,"avatar_url":"https://avatars.githubusercontent.com/u/54485?v=3","gravatar_id":"","url":"https://api.github.com/users/martijnwalraven","html_url":"https://github.com/martijnwalraven","followers_url":"https://api.github.com/users/martijnwalraven/followers","following_url":"https://api.github.com/users/martijnwalraven/following{/other_user}","gists_url":"https://api.github.com/users/martijnwalraven/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnwalraven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnwalraven/subscriptions","organizations_url":"https://api.github.com/users/martijnwalraven/orgs","repos_url":"https://api.github.com/users/martijnwalraven/repos","events_url":"https://api.github.com/users/martijnwalraven/events{/privacy}","received_events_url":"https://api.github.com/users/martijnwalraven/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T09:56:29Z","updated_at":"2016-04-20T09:56:29Z","body":"Hmmm, the issue seems to be that `swapi-graph` doesn't work with `graphql` 0.5.0 because `graphql-relay` requires an earlier version. As a workaround, I tried exporting the `graphql` function from `swapi-graphql` so it can use its own version. That works using npm 2 but breaks down with npm 3, because `graphql-relay` is installed in the top-level `node_modules` and only specifies `graphql@~0.4.2` as a peer dependency, which is not enforced.\r\n\r\nI think it may make sense to revisit our dependency on `swapi-graph` and use our own mock server with a more simple schema."}}