{"action":"created","issue":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/863","repository_url":"https://api.github.com/repos/apollostack/apollo-client","labels_url":"https://api.github.com/repos/apollostack/apollo-client/issues/863/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/apollo-client/issues/863/comments","events_url":"https://api.github.com/repos/apollostack/apollo-client/issues/863/events","html_url":"https://github.com/apollostack/apollo-client/issues/863","id":186706602,"number":863,"title":"Cryptic message given when passing array of fragments","user":{"login":"viridia","id":1166135,"avatar_url":"https://avatars.githubusercontent.com/u/1166135?v=3","gravatar_id":"","url":"https://api.github.com/users/viridia","html_url":"https://github.com/viridia","followers_url":"https://api.github.com/users/viridia/followers","following_url":"https://api.github.com/users/viridia/following{/other_user}","gists_url":"https://api.github.com/users/viridia/gists{/gist_id}","starred_url":"https://api.github.com/users/viridia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viridia/subscriptions","organizations_url":"https://api.github.com/users/viridia/orgs","repos_url":"https://api.github.com/users/viridia/repos","events_url":"https://api.github.com/users/viridia/events{/privacy}","received_events_url":"https://api.github.com/users/viridia/received_events","type":"User","site_admin":false},"labels":[{"id":332593317,"url":"https://api.github.com/repos/apollostack/apollo-client/labels/bug","name":"bug","color":"fc2929","default":true},{"id":332593320,"url":"https://api.github.com/repos/apollostack/apollo-client/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-02T03:54:22Z","updated_at":"2016-11-02T21:46:30Z","closed_at":null,"body":"I'm executing a mutation like so:\r\n\r\n```\r\nexport function updateProject(id, project) {\r\n  return client.mutate({\r\n    mutation: UpdateProjectMutation,\r\n    variables: { id, project },\r\n    fragments: [ProjectContent],\r\n  });\r\n}\r\n```\r\n\r\nThe error I get is:\r\n\r\n`getFromAST.js:26 Uncaught Error: Schema type definitions not allowed in queries. Found: \"undefined\"`\r\n\r\nHowever, when I change the 'fragments' parameter from [ProjectContent] to ProjectContent, it works."},"comment":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/comments/258008961","html_url":"https://github.com/apollostack/apollo-client/issues/863#issuecomment-258008961","issue_url":"https://api.github.com/repos/apollostack/apollo-client/issues/863","id":258008961,"user":{"login":"viridia","id":1166135,"avatar_url":"https://avatars.githubusercontent.com/u/1166135?v=3","gravatar_id":"","url":"https://api.github.com/users/viridia","html_url":"https://github.com/viridia","followers_url":"https://api.github.com/users/viridia/followers","following_url":"https://api.github.com/users/viridia/following{/other_user}","gists_url":"https://api.github.com/users/viridia/gists{/gist_id}","starred_url":"https://api.github.com/users/viridia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viridia/subscriptions","organizations_url":"https://api.github.com/users/viridia/orgs","repos_url":"https://api.github.com/users/viridia/repos","events_url":"https://api.github.com/users/viridia/events{/privacy}","received_events_url":"https://api.github.com/users/viridia/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T21:46:30Z","updated_at":"2016-11-02T21:46:30Z","body":"Sure."}}
{"actor":{"display_login":"viridia"}}