{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/Shopify/graphql-batch/pulls/7","id":64135446,"html_url":"https://github.com/Shopify/graphql-batch/pull/7","diff_url":"https://github.com/Shopify/graphql-batch/pull/7.diff","patch_url":"https://github.com/Shopify/graphql-batch/pull/7.patch","issue_url":"https://api.github.com/repos/Shopify/graphql-batch/issues/7","number":7,"state":"open","locked":false,"title":"Provide a mutation execution strategy to sync between top-level fields","user":{"login":"dylanahsmith","id":954402,"avatar_url":"https://avatars.githubusercontent.com/u/954402?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanahsmith","html_url":"https://github.com/dylanahsmith","followers_url":"https://api.github.com/users/dylanahsmith/followers","following_url":"https://api.github.com/users/dylanahsmith/following{/other_user}","gists_url":"https://api.github.com/users/dylanahsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanahsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanahsmith/subscriptions","organizations_url":"https://api.github.com/users/dylanahsmith/orgs","repos_url":"https://api.github.com/users/dylanahsmith/repos","events_url":"https://api.github.com/users/dylanahsmith/events{/privacy}","received_events_url":"https://api.github.com/users/dylanahsmith/received_events","type":"User","site_admin":false},"body":"@eapache for review\r\n\r\n## Problem\r\n\r\nLoaders could get batched across top-level mutation fields, which are supposed to be executed serially.\r\n\r\n## Solution\r\n\r\nProvide a MutationExecutionStrategy with a FieldResolution that waits for promises to resolve after the field is resolved.  It also switches to the batch ExecutionStrategy to resolve sub-selections followed by execution of all of its batch loads.","created_at":"2016-03-25T06:31:42Z","updated_at":"2016-03-25T06:31:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16723e30df52d7f6385f1782571d0dbdc37a4c1c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/graphql-batch/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Shopify/graphql-batch/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Shopify/graphql-batch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shopify/graphql-batch/issues/7/comments","statuses_url":"https://api.github.com/repos/Shopify/graphql-batch/statuses/4921830479bc0bb5b8ec06cdc2c7aa7894fba933","head":{"label":"Shopify:mutation-execution","ref":"mutation-execution","sha":"4921830479bc0bb5b8ec06cdc2c7aa7894fba933","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":42800785,"name":"graphql-batch","full_name":"Shopify/graphql-batch","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/graphql-batch","description":"A query batching executor for the graphql gem","fork":false,"url":"https://api.github.com/repos/Shopify/graphql-batch","forks_url":"https://api.github.com/repos/Shopify/graphql-batch/forks","keys_url":"https://api.github.com/repos/Shopify/graphql-batch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/graphql-batch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/graphql-batch/teams","hooks_url":"https://api.github.com/repos/Shopify/graphql-batch/hooks","issue_events_url":"https://api.github.com/repos/Shopify/graphql-batch/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/graphql-batch/events","assignees_url":"https://api.github.com/repos/Shopify/graphql-batch/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/graphql-batch/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/graphql-batch/tags","blobs_url":"https://api.github.com/repos/Shopify/graphql-batch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/graphql-batch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/graphql-batch/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/graphql-batch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/graphql-batch/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/graphql-batch/languages","stargazers_url":"https://api.github.com/repos/Shopify/graphql-batch/stargazers","contributors_url":"https://api.github.com/repos/Shopify/graphql-batch/contributors","subscribers_url":"https://api.github.com/repos/Shopify/graphql-batch/subscribers","subscription_url":"https://api.github.com/repos/Shopify/graphql-batch/subscription","commits_url":"https://api.github.com/repos/Shopify/graphql-batch/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/graphql-batch/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/graphql-batch/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/graphql-batch/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/graphql-batch/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/graphql-batch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/graphql-batch/merges","archive_url":"https://api.github.com/repos/Shopify/graphql-batch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/graphql-batch/downloads","issues_url":"https://api.github.com/repos/Shopify/graphql-batch/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/graphql-batch/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/graphql-batch/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/graphql-batch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/graphql-batch/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/graphql-batch/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/graphql-batch/deployments","created_at":"2015-09-20T04:57:22Z","updated_at":"2016-03-24T07:10:27Z","pushed_at":"2016-03-25T06:31:42Z","git_url":"git://github.com/Shopify/graphql-batch.git","ssh_url":"git@github.com:Shopify/graphql-batch.git","clone_url":"https://github.com/Shopify/graphql-batch.git","svn_url":"https://github.com/Shopify/graphql-batch","homepage":null,"size":38,"stargazers_count":22,"watchers_count":22,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":22,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"a00a2edf3174a3a14335fb417e94839360812abb","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":42800785,"name":"graphql-batch","full_name":"Shopify/graphql-batch","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/graphql-batch","description":"A query batching executor for the graphql gem","fork":false,"url":"https://api.github.com/repos/Shopify/graphql-batch","forks_url":"https://api.github.com/repos/Shopify/graphql-batch/forks","keys_url":"https://api.github.com/repos/Shopify/graphql-batch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/graphql-batch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/graphql-batch/teams","hooks_url":"https://api.github.com/repos/Shopify/graphql-batch/hooks","issue_events_url":"https://api.github.com/repos/Shopify/graphql-batch/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/graphql-batch/events","assignees_url":"https://api.github.com/repos/Shopify/graphql-batch/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/graphql-batch/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/graphql-batch/tags","blobs_url":"https://api.github.com/repos/Shopify/graphql-batch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/graphql-batch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/graphql-batch/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/graphql-batch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/graphql-batch/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/graphql-batch/languages","stargazers_url":"https://api.github.com/repos/Shopify/graphql-batch/stargazers","contributors_url":"https://api.github.com/repos/Shopify/graphql-batch/contributors","subscribers_url":"https://api.github.com/repos/Shopify/graphql-batch/subscribers","subscription_url":"https://api.github.com/repos/Shopify/graphql-batch/subscription","commits_url":"https://api.github.com/repos/Shopify/graphql-batch/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/graphql-batch/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/graphql-batch/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/graphql-batch/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/graphql-batch/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/graphql-batch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/graphql-batch/merges","archive_url":"https://api.github.com/repos/Shopify/graphql-batch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/graphql-batch/downloads","issues_url":"https://api.github.com/repos/Shopify/graphql-batch/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/graphql-batch/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/graphql-batch/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/graphql-batch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/graphql-batch/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/graphql-batch/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/graphql-batch/deployments","created_at":"2015-09-20T04:57:22Z","updated_at":"2016-03-24T07:10:27Z","pushed_at":"2016-03-25T06:31:42Z","git_url":"git://github.com/Shopify/graphql-batch.git","ssh_url":"git@github.com:Shopify/graphql-batch.git","clone_url":"https://github.com/Shopify/graphql-batch.git","svn_url":"https://github.com/Shopify/graphql-batch","homepage":null,"size":38,"stargazers_count":22,"watchers_count":22,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/graphql-batch/pulls/7"},"html":{"href":"https://github.com/Shopify/graphql-batch/pull/7"},"issue":{"href":"https://api.github.com/repos/Shopify/graphql-batch/issues/7"},"comments":{"href":"https://api.github.com/repos/Shopify/graphql-batch/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/graphql-batch/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/graphql-batch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shopify/graphql-batch/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/graphql-batch/statuses/4921830479bc0bb5b8ec06cdc2c7aa7894fba933"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":86,"deletions":2,"changed_files":7}}