{"action":"created","issue":{"url":"https://api.github.com/repos/apollostack/graphqlrc/issues/2","repository_url":"https://api.github.com/repos/apollostack/graphqlrc","labels_url":"https://api.github.com/repos/apollostack/graphqlrc/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/graphqlrc/issues/2/comments","events_url":"https://api.github.com/repos/apollostack/graphqlrc/issues/2/events","html_url":"https://github.com/apollostack/graphqlrc/issues/2","id":151037563,"number":2,"title":"Support picking which GraphQL validation rules you're interested in","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":null,"milestone":null,"comments":4,"created_at":"2016-04-26T04:19:23Z","updated_at":"2016-05-04T00:26:31Z","closed_at":null,"body":"From this list, at first: https://github.com/graphql/graphql-js/blob/master/src/validation/specifiedRules.js\r\n\r\nWith more to come later! Eventually we should support defining custom rules."},"comment":{"url":"https://api.github.com/repos/apollostack/graphqlrc/issues/comments/216706792","html_url":"https://github.com/apollostack/graphqlrc/issues/2#issuecomment-216706792","issue_url":"https://api.github.com/repos/apollostack/graphqlrc/issues/2","id":216706792,"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-04T00:26:31Z","updated_at":"2016-05-04T00:26:31Z","body":"Yeah I mean in my ideal GraphQL spec there would be better support for how \"fancy\" libraries should behave. For example, having the arguments for a mutation inside the query string:\r\n\r\nhttp://docs.apollostack.com/apollo-client/core.html#mutate\r\n\r\nIt's not nice to have to type the arguments three times, when in theory all of the information is there to just type them twice.\r\n\r\nIt seems like currently GraphQL is optimized for the case where each query is a standalone chunk of logic that doesn't interact much with the surrounding code (declaring its own arguments being one example)."}}