{"action":"created","comment":{"url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/comments/206303582","pull_request_review_id":141694317,"id":206303582,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjMwMzU4Mg==","diff_hunk":"@@ -680,6 +680,41 @@ def simple_recurse():\n         type_equivalence_hints=None)\n \n \n+def double_recurse():\n+    graphql_input = '''{\n+        Animal @filter(op_name: \"name_or_alias\", value: [\"$animal_name_or_alias\"]) {\n+            name @output(out_name: \"animal_name\")\n+            out_Animal_ImportantEvent @optional {\n+                ... on Event {\n+                    name @output(out_name: \"important_event\")\n+                }\n+            }\n+            out_Animal_ParentOf @recurse(depth: 2) {\n+                name @output(out_name: \"ancestor_name\")\n+            }\n+            in_Animal_ParentOf @recurse(depth: 2) {\n+                name @output(out_name: \"descendent_name\")\n+            }","path":"graphql_compiler/tests/test_input_data.py","position":18,"original_position":18,"commit_id":"a80f155920308983925b19b8f6e456e3882a9c17","original_commit_id":"a80f155920308983925b19b8f6e456e3882a9c17","user":{"login":"obi1kenobi","id":2348618,"node_id":"MDQ6VXNlcjIzNDg2MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/2348618?v=4","gravatar_id":"","url":"https://api.github.com/users/obi1kenobi","html_url":"https://github.com/obi1kenobi","followers_url":"https://api.github.com/users/obi1kenobi/followers","following_url":"https://api.github.com/users/obi1kenobi/following{/other_user}","gists_url":"https://api.github.com/users/obi1kenobi/gists{/gist_id}","starred_url":"https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obi1kenobi/subscriptions","organizations_url":"https://api.github.com/users/obi1kenobi/orgs","repos_url":"https://api.github.com/users/obi1kenobi/repos","events_url":"https://api.github.com/users/obi1kenobi/events{/privacy}","received_events_url":"https://api.github.com/users/obi1kenobi/received_events","type":"User","site_admin":false},"body":"is there maybe a missing `}` here? I'm not sure this parses as valid GraphQL","created_at":"2018-07-30T20:07:11Z","updated_at":"2018-07-30T20:07:42Z","html_url":"https://github.com/kensho-technologies/graphql-compiler/pull/112#discussion_r206303582","pull_request_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/112","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/comments/206303582"},"html":{"href":"https://github.com/kensho-technologies/graphql-compiler/pull/112#discussion_r206303582"},"pull_request":{"href":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/112","id":204913074,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0OTEzMDc0","html_url":"https://github.com/kensho-technologies/graphql-compiler/pull/112","diff_url":"https://github.com/kensho-technologies/graphql-compiler/pull/112.diff","patch_url":"https://github.com/kensho-technologies/graphql-compiler/pull/112.patch","issue_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/issues/112","number":112,"state":"open","locked":false,"title":"more than a single recursion in a query","user":{"login":"cw6515","id":28874294,"node_id":"MDQ6VXNlcjI4ODc0Mjk0","avatar_url":"https://avatars0.githubusercontent.com/u/28874294?v=4","gravatar_id":"","url":"https://api.github.com/users/cw6515","html_url":"https://github.com/cw6515","followers_url":"https://api.github.com/users/cw6515/followers","following_url":"https://api.github.com/users/cw6515/following{/other_user}","gists_url":"https://api.github.com/users/cw6515/gists{/gist_id}","starred_url":"https://api.github.com/users/cw6515/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cw6515/subscriptions","organizations_url":"https://api.github.com/users/cw6515/orgs","repos_url":"https://api.github.com/users/cw6515/repos","events_url":"https://api.github.com/users/cw6515/events{/privacy}","received_events_url":"https://api.github.com/users/cw6515/received_events","type":"User","site_admin":false},"body":"Running GraphQL queries with two inplace recursions seems to fail; this PR adds a test that should pass, but currently does not.","created_at":"2018-07-30T19:58:47Z","updated_at":"2018-07-30T20:07:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7663ff2f3fd4a949679b72e60ba31d430d66c3d8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/112/commits","review_comments_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/112/comments","review_comment_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/issues/112/comments","statuses_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/statuses/a80f155920308983925b19b8f6e456e3882a9c17","head":{"label":"cw6515:double_recursion_in_input","ref":"double_recursion_in_input","sha":"a80f155920308983925b19b8f6e456e3882a9c17","user":{"login":"cw6515","id":28874294,"node_id":"MDQ6VXNlcjI4ODc0Mjk0","avatar_url":"https://avatars0.githubusercontent.com/u/28874294?v=4","gravatar_id":"","url":"https://api.github.com/users/cw6515","html_url":"https://github.com/cw6515","followers_url":"https://api.github.com/users/cw6515/followers","following_url":"https://api.github.com/users/cw6515/following{/other_user}","gists_url":"https://api.github.com/users/cw6515/gists{/gist_id}","starred_url":"https://api.github.com/users/cw6515/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cw6515/subscriptions","organizations_url":"https://api.github.com/users/cw6515/orgs","repos_url":"https://api.github.com/users/cw6515/repos","events_url":"https://api.github.com/users/cw6515/events{/privacy}","received_events_url":"https://api.github.com/users/cw6515/received_events","type":"User","site_admin":false},"repo":{"id":132511993,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1MTE5OTM=","name":"graphql-compiler","full_name":"cw6515/graphql-compiler","owner":{"login":"cw6515","id":28874294,"node_id":"MDQ6VXNlcjI4ODc0Mjk0","avatar_url":"https://avatars0.githubusercontent.com/u/28874294?v=4","gravatar_id":"","url":"https://api.github.com/users/cw6515","html_url":"https://github.com/cw6515","followers_url":"https://api.github.com/users/cw6515/followers","following_url":"https://api.github.com/users/cw6515/following{/other_user}","gists_url":"https://api.github.com/users/cw6515/gists{/gist_id}","starred_url":"https://api.github.com/users/cw6515/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cw6515/subscriptions","organizations_url":"https://api.github.com/users/cw6515/orgs","repos_url":"https://api.github.com/users/cw6515/repos","events_url":"https://api.github.com/users/cw6515/events{/privacy}","received_events_url":"https://api.github.com/users/cw6515/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cw6515/graphql-compiler","description":"Turn complex GraphQL queries into optimized database queries.","fork":true,"url":"https://api.github.com/repos/cw6515/graphql-compiler","forks_url":"https://api.github.com/repos/cw6515/graphql-compiler/forks","keys_url":"https://api.github.com/repos/cw6515/graphql-compiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cw6515/graphql-compiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cw6515/graphql-compiler/teams","hooks_url":"https://api.github.com/repos/cw6515/graphql-compiler/hooks","issue_events_url":"https://api.github.com/repos/cw6515/graphql-compiler/issues/events{/number}","events_url":"https://api.github.com/repos/cw6515/graphql-compiler/events","assignees_url":"https://api.github.com/repos/cw6515/graphql-compiler/assignees{/user}","branches_url":"https://api.github.com/repos/cw6515/graphql-compiler/branches{/branch}","tags_url":"https://api.github.com/repos/cw6515/graphql-compiler/tags","blobs_url":"https://api.github.com/repos/cw6515/graphql-compiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cw6515/graphql-compiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cw6515/graphql-compiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/cw6515/graphql-compiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cw6515/graphql-compiler/statuses/{sha}","languages_url":"https://api.github.com/repos/cw6515/graphql-compiler/languages","stargazers_url":"https://api.github.com/repos/cw6515/graphql-compiler/stargazers","contributors_url":"https://api.github.com/repos/cw6515/graphql-compiler/contributors","subscribers_url":"https://api.github.com/repos/cw6515/graphql-compiler/subscribers","subscription_url":"https://api.github.com/repos/cw6515/graphql-compiler/subscription","commits_url":"https://api.github.com/repos/cw6515/graphql-compiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/cw6515/graphql-compiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/cw6515/graphql-compiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/cw6515/graphql-compiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/cw6515/graphql-compiler/contents/{+path}","compare_url":"https://api.github.com/repos/cw6515/graphql-compiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cw6515/graphql-compiler/merges","archive_url":"https://api.github.com/repos/cw6515/graphql-compiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cw6515/graphql-compiler/downloads","issues_url":"https://api.github.com/repos/cw6515/graphql-compiler/issues{/number}","pulls_url":"https://api.github.com/repos/cw6515/graphql-compiler/pulls{/number}","milestones_url":"https://api.github.com/repos/cw6515/graphql-compiler/milestones{/number}","notifications_url":"https://api.github.com/repos/cw6515/graphql-compiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cw6515/graphql-compiler/labels{/name}","releases_url":"https://api.github.com/repos/cw6515/graphql-compiler/releases{/id}","deployments_url":"https://api.github.com/repos/cw6515/graphql-compiler/deployments","created_at":"2018-05-07T20:17:17Z","updated_at":"2018-07-30T19:55:31Z","pushed_at":"2018-07-30T20:06:00Z","git_url":"git://github.com/cw6515/graphql-compiler.git","ssh_url":"git@github.com:cw6515/graphql-compiler.git","clone_url":"https://github.com/cw6515/graphql-compiler.git","svn_url":"https://github.com/cw6515/graphql-compiler","homepage":null,"size":353,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kensho-technologies:master","ref":"master","sha":"fb31516f0b6da5f9b213ba0263088e0ecff5b687","user":{"login":"kensho-technologies","id":26574236,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NTc0MjM2","avatar_url":"https://avatars0.githubusercontent.com/u/26574236?v=4","gravatar_id":"","url":"https://api.github.com/users/kensho-technologies","html_url":"https://github.com/kensho-technologies","followers_url":"https://api.github.com/users/kensho-technologies/followers","following_url":"https://api.github.com/users/kensho-technologies/following{/other_user}","gists_url":"https://api.github.com/users/kensho-technologies/gists{/gist_id}","starred_url":"https://api.github.com/users/kensho-technologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kensho-technologies/subscriptions","organizations_url":"https://api.github.com/users/kensho-technologies/orgs","repos_url":"https://api.github.com/users/kensho-technologies/repos","events_url":"https://api.github.com/users/kensho-technologies/events{/privacy}","received_events_url":"https://api.github.com/users/kensho-technologies/received_events","type":"Organization","site_admin":false},"repo":{"id":97647864,"node_id":"MDEwOlJlcG9zaXRvcnk5NzY0Nzg2NA==","name":"graphql-compiler","full_name":"kensho-technologies/graphql-compiler","owner":{"login":"kensho-technologies","id":26574236,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NTc0MjM2","avatar_url":"https://avatars0.githubusercontent.com/u/26574236?v=4","gravatar_id":"","url":"https://api.github.com/users/kensho-technologies","html_url":"https://github.com/kensho-technologies","followers_url":"https://api.github.com/users/kensho-technologies/followers","following_url":"https://api.github.com/users/kensho-technologies/following{/other_user}","gists_url":"https://api.github.com/users/kensho-technologies/gists{/gist_id}","starred_url":"https://api.github.com/users/kensho-technologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kensho-technologies/subscriptions","organizations_url":"https://api.github.com/users/kensho-technologies/orgs","repos_url":"https://api.github.com/users/kensho-technologies/repos","events_url":"https://api.github.com/users/kensho-technologies/events{/privacy}","received_events_url":"https://api.github.com/users/kensho-technologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kensho-technologies/graphql-compiler","description":"Turn complex GraphQL queries into optimized database queries.","fork":false,"url":"https://api.github.com/repos/kensho-technologies/graphql-compiler","forks_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/forks","keys_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/teams","hooks_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/hooks","issue_events_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/issues/events{/number}","events_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/events","assignees_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/assignees{/user}","branches_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/branches{/branch}","tags_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/tags","blobs_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/statuses/{sha}","languages_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/languages","stargazers_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/stargazers","contributors_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/contributors","subscribers_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/subscribers","subscription_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/subscription","commits_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/contents/{+path}","compare_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/merges","archive_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/downloads","issues_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/issues{/number}","pulls_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls{/number}","milestones_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/milestones{/number}","notifications_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/labels{/name}","releases_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/releases{/id}","deployments_url":"https://api.github.com/repos/kensho-technologies/graphql-compiler/deployments","created_at":"2017-07-18T22:03:41Z","updated_at":"2018-07-30T13:22:09Z","pushed_at":"2018-07-30T20:06:01Z","git_url":"git://github.com/kensho-technologies/graphql-compiler.git","ssh_url":"git@github.com:kensho-technologies/graphql-compiler.git","clone_url":"https://github.com/kensho-technologies/graphql-compiler.git","svn_url":"https://github.com/kensho-technologies/graphql-compiler","homepage":null,"size":1476,"stargazers_count":262,"watchers_count":262,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":22,"open_issues":19,"watchers":262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/112"},"html":{"href":"https://github.com/kensho-technologies/graphql-compiler/pull/112"},"issue":{"href":"https://api.github.com/repos/kensho-technologies/graphql-compiler/issues/112"},"comments":{"href":"https://api.github.com/repos/kensho-technologies/graphql-compiler/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kensho-technologies/graphql-compiler/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/kensho-technologies/graphql-compiler/statuses/a80f155920308983925b19b8f6e456e3882a9c17"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"obi1kenobi"}}