{"action":"opened","issue":{"url":"https://api.github.com/repos/acro5piano/typed-graphqlify/issues/1","repository_url":"https://api.github.com/repos/acro5piano/typed-graphqlify","labels_url":"https://api.github.com/repos/acro5piano/typed-graphqlify/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/acro5piano/typed-graphqlify/issues/1/comments","events_url":"https://api.github.com/repos/acro5piano/typed-graphqlify/issues/1/events","html_url":"https://github.com/acro5piano/typed-graphqlify/issues/1","id":394172246,"node_id":"MDU6SXNzdWUzOTQxNzIyNDY=","number":1,"title":"API refactor request-use object methods to call query/mutation","user":{"login":"capaj","id":1305378,"node_id":"MDQ6VXNlcjEzMDUzNzg=","avatar_url":"https://avatars0.githubusercontent.com/u/1305378?v=4","gravatar_id":"","url":"https://api.github.com/users/capaj","html_url":"https://github.com/capaj","followers_url":"https://api.github.com/users/capaj/followers","following_url":"https://api.github.com/users/capaj/following{/other_user}","gists_url":"https://api.github.com/users/capaj/gists{/gist_id}","starred_url":"https://api.github.com/users/capaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capaj/subscriptions","organizations_url":"https://api.github.com/users/capaj/orgs","repos_url":"https://api.github.com/users/capaj/repos","events_url":"https://api.github.com/users/capaj/events{/privacy}","received_events_url":"https://api.github.com/users/capaj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-26T13:52:05Z","updated_at":"2018-12-26T13:52:05Z","closed_at":null,"author_association":"NONE","body":"apollo client and many other clients have this kind of API:\r\n\r\n```\r\ngraphqlify.mutation({...})\r\ngraphqlify.query({...})\r\n```\r\n\r\nand it feels nicer to write/read than\r\n```js\r\ngraphqlify('mutation', {...})\r\ngraphqlify('query', {\r\n```\r\nalso saves one character.\r\nSo I know it's a little presumptuous to ask you to change it, but IMHO it would help people who are mostly used to apollo/urql up to speed faster.\r\n\r\nIf you'd agree I could even open a PR to address this."}}
{"actor":{"display_login":"capaj"}}