{"action":"created","issue":{"url":"https://api.github.com/repos/opencollective/opencollective/issues/1091","repository_url":"https://api.github.com/repos/opencollective/opencollective","labels_url":"https://api.github.com/repos/opencollective/opencollective/issues/1091/labels{/name}","comments_url":"https://api.github.com/repos/opencollective/opencollective/issues/1091/comments","events_url":"https://api.github.com/repos/opencollective/opencollective/issues/1091/events","html_url":"https://github.com/opencollective/opencollective/issues/1091","id":324205935,"number":1091,"title":"Move GraphQL queries in the frontend to .graphql files","user":{"login":"clarete","id":1459190,"avatar_url":"https://avatars1.githubusercontent.com/u/1459190?v=4","gravatar_id":"","url":"https://api.github.com/users/clarete","html_url":"https://github.com/clarete","followers_url":"https://api.github.com/users/clarete/followers","following_url":"https://api.github.com/users/clarete/following{/other_user}","gists_url":"https://api.github.com/users/clarete/gists{/gist_id}","starred_url":"https://api.github.com/users/clarete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarete/subscriptions","organizations_url":"https://api.github.com/users/clarete/orgs","repos_url":"https://api.github.com/users/clarete/repos","events_url":"https://api.github.com/users/clarete/events{/privacy}","received_events_url":"https://api.github.com/users/clarete/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-17T22:19:10Z","updated_at":"2018-05-22T19:20:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi all,\r\n\r\nI was just wondering if it's worth thinking about moving our GraphQL queries to separate files and import them using a *webpack plugin. This would probably help unclutter the component files. As a side effect, I think it'd also get rid of some repeated queries.\r\n\r\nDefinitely super low priority and actually more of a question to see what you guys think.\r\n\r\n[*] https://www.apollographql.com/docs/react/recipes/webpack.html\r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/opencollective/opencollective/issues/comments/391110116","html_url":"https://github.com/opencollective/opencollective/issues/1091#issuecomment-391110116","issue_url":"https://api.github.com/repos/opencollective/opencollective/issues/1091","id":391110116,"user":{"login":"znarf","id":806,"avatar_url":"https://avatars3.githubusercontent.com/u/806?v=4","gravatar_id":"","url":"https://api.github.com/users/znarf","html_url":"https://github.com/znarf","followers_url":"https://api.github.com/users/znarf/followers","following_url":"https://api.github.com/users/znarf/following{/other_user}","gists_url":"https://api.github.com/users/znarf/gists{/gist_id}","starred_url":"https://api.github.com/users/znarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/znarf/subscriptions","organizations_url":"https://api.github.com/users/znarf/orgs","repos_url":"https://api.github.com/users/znarf/repos","events_url":"https://api.github.com/users/znarf/events{/privacy}","received_events_url":"https://api.github.com/users/znarf/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T19:20:47Z","updated_at":"2018-05-22T19:20:47Z","author_association":"NONE","body":"Also doable through Babel:\r\nhttps://github.com/detrohutt/babel-plugin-inline-import-graphql-ast"}}
{"actor":{"display_login":"znarf"}}