{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/Polymer/lazy-imports/pulls/22","id":115024591,"html_url":"https://github.com/Polymer/lazy-imports/pull/22","diff_url":"https://github.com/Polymer/lazy-imports/pull/22.diff","patch_url":"https://github.com/Polymer/lazy-imports/pull/22.patch","issue_url":"https://api.github.com/repos/Polymer/lazy-imports/issues/22","number":22,"state":"closed","locked":false,"title":"Fix: Promises reject on failure","user":{"login":"stramel","id":855184,"avatar_url":"https://avatars1.githubusercontent.com/u/855184?v=4","gravatar_id":"","url":"https://api.github.com/users/stramel","html_url":"https://github.com/stramel","followers_url":"https://api.github.com/users/stramel/followers","following_url":"https://api.github.com/users/stramel/following{/other_user}","gists_url":"https://api.github.com/users/stramel/gists{/gist_id}","starred_url":"https://api.github.com/users/stramel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stramel/subscriptions","organizations_url":"https://api.github.com/users/stramel/orgs","repos_url":"https://api.github.com/users/stramel/repos","events_url":"https://api.github.com/users/stramel/events{/privacy}","received_events_url":"https://api.github.com/users/stramel/received_events","type":"User","site_admin":false},"body":"Addresses #20 \r\n\r\nChanges:\r\n\r\n- If there are no imports found with the specified group, it will reject with empty arrays for loaded and failed.\r\n- If there are any failed requests, it will reject with the results of the group imports.\r\n\r\n@garlicnation @justinfagnani @rictic PTAL\r\n\r\n**UPDATE:** Rebased onto master","created_at":"2017-04-10T04:41:04Z","updated_at":"2017-10-31T18:45:38Z","closed_at":"2017-10-31T18:45:38Z","merged_at":"2017-10-31T18:45:38Z","merge_commit_sha":"27eed928ec0b40ce731f279644f51829cd84cc53","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Polymer/lazy-imports/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Polymer/lazy-imports/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Polymer/lazy-imports/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Polymer/lazy-imports/issues/22/comments","statuses_url":"https://api.github.com/repos/Polymer/lazy-imports/statuses/719ebdefc9eb768d047475e3b83472b62e3bc172","head":{"label":"stramel:ms/adjust-promises","ref":"ms/adjust-promises","sha":"719ebdefc9eb768d047475e3b83472b62e3bc172","user":{"login":"stramel","id":855184,"avatar_url":"https://avatars1.githubusercontent.com/u/855184?v=4","gravatar_id":"","url":"https://api.github.com/users/stramel","html_url":"https://github.com/stramel","followers_url":"https://api.github.com/users/stramel/followers","following_url":"https://api.github.com/users/stramel/following{/other_user}","gists_url":"https://api.github.com/users/stramel/gists{/gist_id}","starred_url":"https://api.github.com/users/stramel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stramel/subscriptions","organizations_url":"https://api.github.com/users/stramel/orgs","repos_url":"https://api.github.com/users/stramel/repos","events_url":"https://api.github.com/users/stramel/events{/privacy}","received_events_url":"https://api.github.com/users/stramel/received_events","type":"User","site_admin":false},"repo":{"id":79531962,"name":"lazy-imports","full_name":"stramel/lazy-imports","owner":{"login":"stramel","id":855184,"avatar_url":"https://avatars1.githubusercontent.com/u/855184?v=4","gravatar_id":"","url":"https://api.github.com/users/stramel","html_url":"https://github.com/stramel","followers_url":"https://api.github.com/users/stramel/followers","following_url":"https://api.github.com/users/stramel/following{/other_user}","gists_url":"https://api.github.com/users/stramel/gists{/gist_id}","starred_url":"https://api.github.com/users/stramel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stramel/subscriptions","organizations_url":"https://api.github.com/users/stramel/orgs","repos_url":"https://api.github.com/users/stramel/repos","events_url":"https://api.github.com/users/stramel/events{/privacy}","received_events_url":"https://api.github.com/users/stramel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stramel/lazy-imports","description":"Declarative lazy HTML imports as a behavior.","fork":true,"url":"https://api.github.com/repos/stramel/lazy-imports","forks_url":"https://api.github.com/repos/stramel/lazy-imports/forks","keys_url":"https://api.github.com/repos/stramel/lazy-imports/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stramel/lazy-imports/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stramel/lazy-imports/teams","hooks_url":"https://api.github.com/repos/stramel/lazy-imports/hooks","issue_events_url":"https://api.github.com/repos/stramel/lazy-imports/issues/events{/number}","events_url":"https://api.github.com/repos/stramel/lazy-imports/events","assignees_url":"https://api.github.com/repos/stramel/lazy-imports/assignees{/user}","branches_url":"https://api.github.com/repos/stramel/lazy-imports/branches{/branch}","tags_url":"https://api.github.com/repos/stramel/lazy-imports/tags","blobs_url":"https://api.github.com/repos/stramel/lazy-imports/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stramel/lazy-imports/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stramel/lazy-imports/git/refs{/sha}","trees_url":"https://api.github.com/repos/stramel/lazy-imports/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stramel/lazy-imports/statuses/{sha}","languages_url":"https://api.github.com/repos/stramel/lazy-imports/languages","stargazers_url":"https://api.github.com/repos/stramel/lazy-imports/stargazers","contributors_url":"https://api.github.com/repos/stramel/lazy-imports/contributors","subscribers_url":"https://api.github.com/repos/stramel/lazy-imports/subscribers","subscription_url":"https://api.github.com/repos/stramel/lazy-imports/subscription","commits_url":"https://api.github.com/repos/stramel/lazy-imports/commits{/sha}","git_commits_url":"https://api.github.com/repos/stramel/lazy-imports/git/commits{/sha}","comments_url":"https://api.github.com/repos/stramel/lazy-imports/comments{/number}","issue_comment_url":"https://api.github.com/repos/stramel/lazy-imports/issues/comments{/number}","contents_url":"https://api.github.com/repos/stramel/lazy-imports/contents/{+path}","compare_url":"https://api.github.com/repos/stramel/lazy-imports/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stramel/lazy-imports/merges","archive_url":"https://api.github.com/repos/stramel/lazy-imports/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stramel/lazy-imports/downloads","issues_url":"https://api.github.com/repos/stramel/lazy-imports/issues{/number}","pulls_url":"https://api.github.com/repos/stramel/lazy-imports/pulls{/number}","milestones_url":"https://api.github.com/repos/stramel/lazy-imports/milestones{/number}","notifications_url":"https://api.github.com/repos/stramel/lazy-imports/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stramel/lazy-imports/labels{/name}","releases_url":"https://api.github.com/repos/stramel/lazy-imports/releases{/id}","deployments_url":"https://api.github.com/repos/stramel/lazy-imports/deployments","created_at":"2017-01-20T06:24:07Z","updated_at":"2017-01-20T06:24:10Z","pushed_at":"2017-10-04T22:00:19Z","git_url":"git://github.com/stramel/lazy-imports.git","ssh_url":"git@github.com:stramel/lazy-imports.git","clone_url":"https://github.com/stramel/lazy-imports.git","svn_url":"https://github.com/stramel/lazy-imports","homepage":null,"size":62,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Polymer:master","ref":"master","sha":"c1f92e0d03b1d663940692c3d45426d4552c4959","user":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars3.githubusercontent.com/u/2159051?v=4","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"repo":{"id":68862072,"name":"lazy-imports","full_name":"Polymer/lazy-imports","owner":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars3.githubusercontent.com/u/2159051?v=4","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Polymer/lazy-imports","description":"Declarative lazy HTML imports as a behavior.","fork":false,"url":"https://api.github.com/repos/Polymer/lazy-imports","forks_url":"https://api.github.com/repos/Polymer/lazy-imports/forks","keys_url":"https://api.github.com/repos/Polymer/lazy-imports/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Polymer/lazy-imports/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Polymer/lazy-imports/teams","hooks_url":"https://api.github.com/repos/Polymer/lazy-imports/hooks","issue_events_url":"https://api.github.com/repos/Polymer/lazy-imports/issues/events{/number}","events_url":"https://api.github.com/repos/Polymer/lazy-imports/events","assignees_url":"https://api.github.com/repos/Polymer/lazy-imports/assignees{/user}","branches_url":"https://api.github.com/repos/Polymer/lazy-imports/branches{/branch}","tags_url":"https://api.github.com/repos/Polymer/lazy-imports/tags","blobs_url":"https://api.github.com/repos/Polymer/lazy-imports/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Polymer/lazy-imports/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Polymer/lazy-imports/git/refs{/sha}","trees_url":"https://api.github.com/repos/Polymer/lazy-imports/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Polymer/lazy-imports/statuses/{sha}","languages_url":"https://api.github.com/repos/Polymer/lazy-imports/languages","stargazers_url":"https://api.github.com/repos/Polymer/lazy-imports/stargazers","contributors_url":"https://api.github.com/repos/Polymer/lazy-imports/contributors","subscribers_url":"https://api.github.com/repos/Polymer/lazy-imports/subscribers","subscription_url":"https://api.github.com/repos/Polymer/lazy-imports/subscription","commits_url":"https://api.github.com/repos/Polymer/lazy-imports/commits{/sha}","git_commits_url":"https://api.github.com/repos/Polymer/lazy-imports/git/commits{/sha}","comments_url":"https://api.github.com/repos/Polymer/lazy-imports/comments{/number}","issue_comment_url":"https://api.github.com/repos/Polymer/lazy-imports/issues/comments{/number}","contents_url":"https://api.github.com/repos/Polymer/lazy-imports/contents/{+path}","compare_url":"https://api.github.com/repos/Polymer/lazy-imports/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Polymer/lazy-imports/merges","archive_url":"https://api.github.com/repos/Polymer/lazy-imports/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Polymer/lazy-imports/downloads","issues_url":"https://api.github.com/repos/Polymer/lazy-imports/issues{/number}","pulls_url":"https://api.github.com/repos/Polymer/lazy-imports/pulls{/number}","milestones_url":"https://api.github.com/repos/Polymer/lazy-imports/milestones{/number}","notifications_url":"https://api.github.com/repos/Polymer/lazy-imports/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Polymer/lazy-imports/labels{/name}","releases_url":"https://api.github.com/repos/Polymer/lazy-imports/releases{/id}","deployments_url":"https://api.github.com/repos/Polymer/lazy-imports/deployments","created_at":"2016-09-21T22:15:00Z","updated_at":"2017-10-24T08:25:13Z","pushed_at":"2017-10-31T18:45:38Z","git_url":"git://github.com/Polymer/lazy-imports.git","ssh_url":"git@github.com:Polymer/lazy-imports.git","clone_url":"https://github.com/Polymer/lazy-imports.git","svn_url":"https://github.com/Polymer/lazy-imports","homepage":null,"size":51,"stargazers_count":42,"watchers_count":42,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Polymer/lazy-imports/pulls/22"},"html":{"href":"https://github.com/Polymer/lazy-imports/pull/22"},"issue":{"href":"https://api.github.com/repos/Polymer/lazy-imports/issues/22"},"comments":{"href":"https://api.github.com/repos/Polymer/lazy-imports/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Polymer/lazy-imports/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Polymer/lazy-imports/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Polymer/lazy-imports/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Polymer/lazy-imports/statuses/719ebdefc9eb768d047475e3b83472b62e3bc172"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"justinfagnani","id":522948,"avatar_url":"https://avatars0.githubusercontent.com/u/522948?v=4","gravatar_id":"","url":"https://api.github.com/users/justinfagnani","html_url":"https://github.com/justinfagnani","followers_url":"https://api.github.com/users/justinfagnani/followers","following_url":"https://api.github.com/users/justinfagnani/following{/other_user}","gists_url":"https://api.github.com/users/justinfagnani/gists{/gist_id}","starred_url":"https://api.github.com/users/justinfagnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinfagnani/subscriptions","organizations_url":"https://api.github.com/users/justinfagnani/orgs","repos_url":"https://api.github.com/users/justinfagnani/repos","events_url":"https://api.github.com/users/justinfagnani/events{/privacy}","received_events_url":"https://api.github.com/users/justinfagnani/received_events","type":"User","site_admin":false},"comments":15,"review_comments":3,"maintainer_can_modify":false,"commits":7,"additions":189,"deletions":50,"changed_files":5}}
{"actor":{"display_login":"justinfagnani"}}