{"action":"closed","issue":{"url":"https://api.github.com/repos/sangria-graphql/sangria/issues/195","repository_url":"https://api.github.com/repos/sangria-graphql/sangria","labels_url":"https://api.github.com/repos/sangria-graphql/sangria/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/sangria-graphql/sangria/issues/195/comments","events_url":"https://api.github.com/repos/sangria-graphql/sangria/issues/195/events","html_url":"https://github.com/sangria-graphql/sangria/issues/195","id":194808783,"number":195,"title":"Analyse query without execution","user":{"login":"tgvashworth","id":320862,"avatar_url":"https://avatars0.githubusercontent.com/u/320862?v=4","gravatar_id":"","url":"https://api.github.com/users/tgvashworth","html_url":"https://github.com/tgvashworth","followers_url":"https://api.github.com/users/tgvashworth/followers","following_url":"https://api.github.com/users/tgvashworth/following{/other_user}","gists_url":"https://api.github.com/users/tgvashworth/gists{/gist_id}","starred_url":"https://api.github.com/users/tgvashworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgvashworth/subscriptions","organizations_url":"https://api.github.com/users/tgvashworth/orgs","repos_url":"https://api.github.com/users/tgvashworth/repos","events_url":"https://api.github.com/users/tgvashworth/events{/privacy}","received_events_url":"https://api.github.com/users/tgvashworth/received_events","type":"User","site_admin":false},"labels":[{"id":232647750,"url":"https://api.github.com/repos/sangria-graphql/sangria/labels/feature","name":"feature","color":"598852","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/sangria-graphql/sangria/milestones/10","html_url":"https://github.com/sangria-graphql/sangria/milestone/10","labels_url":"https://api.github.com/repos/sangria-graphql/sangria/milestones/10/labels","id":1336169,"number":10,"title":"Backlog","description":"The issue is planned, but concrete date or milestone is not clear yet.","creator":{"login":"OlegIlyenko","id":156569,"avatar_url":"https://avatars2.githubusercontent.com/u/156569?v=4","gravatar_id":"","url":"https://api.github.com/users/OlegIlyenko","html_url":"https://github.com/OlegIlyenko","followers_url":"https://api.github.com/users/OlegIlyenko/followers","following_url":"https://api.github.com/users/OlegIlyenko/following{/other_user}","gists_url":"https://api.github.com/users/OlegIlyenko/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegIlyenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegIlyenko/subscriptions","organizations_url":"https://api.github.com/users/OlegIlyenko/orgs","repos_url":"https://api.github.com/users/OlegIlyenko/repos","events_url":"https://api.github.com/users/OlegIlyenko/events{/privacy}","received_events_url":"https://api.github.com/users/OlegIlyenko/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-10-03T15:32:07Z","updated_at":"2018-02-19T06:37:20Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-12-11T02:50:24Z","updated_at":"2018-02-19T06:37:20Z","closed_at":"2018-02-19T06:37:19Z","author_association":"NONE","body":"I'd like to be able to analyse queries without actually executing the query, so that I can build a \"stored query\" system that checks queries before storing them.\r\n\r\nFor example, I'd like to be able to return a `400 Bad Request` to a query that will exceed the maximum complexity, or that uses unknown fields.\r\n\r\nQueries would be submitted without `variables` or `operationName` present.\r\n\r\nDoes this sound possible? I guess the main problem is that you need variables present to properly analyse the the query."}}
{"actor":{"display_login":"OlegIlyenko"}}